new changes done

This commit is contained in:
Eudes Inácio
2024-06-14 09:18:56 +01:00
parent 1a42c1cdce
commit b9c81f4cef
4 changed files with 29 additions and 17 deletions
@@ -175,7 +175,7 @@ export class EditEventPage implements OnInit {
} else {
this.postEvent.EventRecurrence.frequency = this.utils.recurenceTypeSeleted(this.postEvent.EventRecurrence.frequency)
}
this.postEvent.Category = this.setEventType(this.postEvent.Category)
console.log(this.postEvent?.Attachments)
console.log(this.loadedEventAttachments)
window.onresize = (event) => {
@@ -800,4 +800,14 @@ export class EditEventPage implements OnInit {
return date
}
setEventType(eventType) {
var selectedEventType = {
1: 'Meeting',
2: 'Travel',
3: 'Conference',
4: 'Encontro'
}
return selectedEventType[eventType];
}
}