ITOTEAM-525 data validation

This commit is contained in:
Peter Maquiran
2024-06-23 21:47:34 +01:00
parent e1914505f2
commit ca50ae9dae
11 changed files with 67 additions and 40 deletions
@@ -425,7 +425,7 @@ export class EditEventPage implements OnInit {
}
}
@XTracerAsync({name:'desktop/create-event', bugPrint: true, daley: 4000})
@XTracerAsync({name:'mobile/create-event', bugPrint: true, daley: 4000})
async save_v2(editAllEvent, tracing?: TracingType) {
this.injectValidation()
this.runValidation()
@@ -604,7 +604,7 @@ export class EditEventPage implements OnInit {
if (this.postEvent.HasAttachments) {
this.attachmentsService.getAttachmentsById(eventId).subscribe(res => {
this.loadedEventAttachments = res;
// this.loadedEventAttachments = res;
}, ((erro) => {
console.error('editgetAttchament', erro)
@@ -193,7 +193,7 @@ export class ViewEventPage implements OnInit {
this.TimeZoneString = this.loadedEvent.TimeZone
}
@XTracerAsync({name:'ViewEventPage/loadEvent', bugPrint: true})
@XTracerAsync({name:'mobile/loadEventDetails', bugPrint: true})
async loadEvent(tracing?: TracingType) {
const loader = this.toastService.loading();