This commit is contained in:
Peter Maquiran
2022-04-20 14:41:02 +01:00
parent cbc050c8ad
commit 92c50e0d4a
3 changed files with 10 additions and 6 deletions
@@ -170,7 +170,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'));
@@ -316,7 +316,7 @@ export class EditEventPage implements OnInit {
saveDocument() {
this.loadedEventAttachments.forEach((e)=>{
this.loadedEventAttachments.forEach((e) => {
const id: any = e.Id
const remove = e['remove']
@@ -347,10 +347,10 @@ export class EditEventPage implements OnInit {
}
async openAttendees() {
if(window.innerWidth > 801){
if(window.innerWidth > 801) {
this.showAttendees=true;
}
else{
else {
const modal = await this.modalController.create({
component: AttendeesPageModal,
componentProps: {
@@ -374,9 +374,13 @@ export class EditEventPage implements OnInit {
if(newAttendees.length) {
this.setIntervenient(newAttendees);
} else {
this.setIntervenient([]);
}
if(newAttendeesCC) {
this.setIntervenientCC(newAttendeesCC);
} else {
this.setIntervenientCC([]);
}
}