This commit is contained in:
Peter Maquiran
2021-12-06 15:09:59 +01:00
parent 4545ef0698
commit fc780613b1
6 changed files with 27 additions and 17 deletions
@@ -41,13 +41,11 @@ export class EditEventPage implements OnInit {
recurringTypes: any; recurringTypes: any;
selectedRecurringType: any; selectedRecurringType: any;
loadedEventAttachments: Attachment[] = []; loadedEventAttachments: Attachment[] = [];
taskParticipants: any = []; taskParticipants: any = [];
taskParticipantsCc: any = []; taskParticipantsCc: any = [];
adding: "intervenient" | "CC" = "intervenient"; adding: "intervenient" | "CC" = "intervenient";
showAttendees = false; showAttendees = false;
constructor( constructor(
@@ -196,7 +194,9 @@ export class EditEventPage implements OnInit {
this.postEvent.EventRecurrence.Type = this.selectedRecurringType; this.postEvent.EventRecurrence.Type = this.selectedRecurringType;
this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => { this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => {
if(this.initCalendarName != this.postEvent.CalendarName) { if(this.initCalendarName != this.postEvent.CalendarName) {
let body = { let body = {
"EventId": this.postEvent.EventId, "EventId": this.postEvent.EventId,
"CalendarDestinationName": this.postEvent.CalendarName, "CalendarDestinationName": this.postEvent.CalendarName,
@@ -209,6 +209,7 @@ export class EditEventPage implements OnInit {
} }
} }
this.toastService.successMessage(); this.toastService.successMessage();
}, error => { }, error => {
@@ -14,7 +14,6 @@ import { FormControl, FormGroup, Validators } from '@angular/forms';
import { ParticipantsPipe } from 'src/app/pipes/participants.pipe'; import { ParticipantsPipe } from 'src/app/pipes/participants.pipe';
import { ThemeService } from 'src/app/services/theme.service' import { ThemeService } from 'src/app/services/theme.service'
@Component({ @Component({
selector: 'app-edit-event', selector: 'app-edit-event',
templateUrl: './edit-event.page.html', templateUrl: './edit-event.page.html',
@@ -127,6 +126,7 @@ export class EditEventPage implements OnInit {
} }
} }
this.initCalendarName = this.postEvent.CalendarName;
this.loadedEventAttachments = this.loadedEventAttachments.concat(this.postEvent.Attachments) this.loadedEventAttachments = this.loadedEventAttachments.concat(this.postEvent.Attachments)
@@ -176,7 +176,7 @@ ion-content{
.attach-title-item{ .attach-title-item{
width: 100%; width: 100%;
font-size: 15px; font-size: 15px;
color:#0d89d1; color:var(--title-text-color);
} }
/* SPAN */ /* SPAN */
.span-left{ .span-left{
+9
View File
@@ -715,6 +715,10 @@ body {
} }
} }
} }
.desk{
color: black !important;
}
} }
.gov { .gov {
@@ -794,6 +798,10 @@ body {
} }
} }
} }
.desk{
color: black !important;
}
} }
// blue // blue
@@ -913,6 +921,7 @@ body {
} }
} }
} }
} }
.font-awesome { .font-awesome {