This commit is contained in:
tiago.kayaya
2021-07-12 11:20:08 +01:00
parent 1e5ad78b54
commit 68f666263b
4 changed files with 11 additions and 12 deletions
@@ -83,7 +83,6 @@ export class EditEventPage implements OnInit {
this.taskParticipantsCc.push(e);
}
})
}
if(this.postEvent.IsRecurring == false) {
@@ -98,8 +97,6 @@ export class EditEventPage implements OnInit {
}
ngOnInit() {
this.selectedRecurringType = this.postEvent.EventRecurrence.Type;
window.onresize = (event) => {
// if not mobile remove all component
if( window.innerWidth >= 1024) {
@@ -111,6 +108,9 @@ export class EditEventPage implements OnInit {
}
this.getRecurrenceTypes();
setTimeout(() => {
this.selectedRecurringType = this.postEvent.EventRecurrence.Type.toString();
}, 500);
}
@@ -130,7 +130,7 @@ export class EditEventPage implements OnInit {
});
}
onSelectedRecurringChanged(ev:any){
onSelectedRecurringChanged(ev?:any){
console.log(ev);
if(ev.length > 1){
console.log(ev.filter(data => data != '-1'));