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
@@ -234,7 +234,7 @@
<div class="ion-icon-class">
<ion-icon slot="start" src="assets/images/icons-person.svg"></ion-icon>
</div>
<div class="ion-input-class-no-height d-flex">
<div class="ion-input-class-no-height d-flex" [class.input-error]="Form?.get('participantes')?.invalid && validateFrom">
<div class="list-people flex-grow-1">
<ion-item lines="none">
<ion-list>
@@ -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([]);
}
}
@@ -69,7 +69,7 @@ export class DespachosPage implements OnInit {
await this.despachoRule.getList({ updateStore: true }).then((pre) => {
this.listToPresent = pre;
console.log('despachooo', pre)
// console.log('despachooo', pre)
}).catch(() => {
this.getFromDb()
})