edit event form correct

This commit is contained in:
Eudes Inácio
2024-06-12 13:59:29 +01:00
parent 1d76cb56c2
commit e5b010940e
4 changed files with 14 additions and 4 deletions
@@ -170,7 +170,12 @@ export class EditEventPage implements OnInit {
}
ngOnInit() {
this.postEvent.EventRecurrence.frequency = this.utils.recurenceTypeSeleted(this.postEvent.EventRecurrence.frequency)
if(!this.postEvent.IsRecurring) {
this.postEvent.EventRecurrence.frequency = 'never'
} else {
this.postEvent.EventRecurrence.frequency = this.utils.recurenceTypeSeleted(this.postEvent.EventRecurrence.frequency)
}
console.log(this.postEvent?.Attachments)
console.log(this.loadedEventAttachments)
window.onresize = (event) => {