This commit is contained in:
Peter Maquiran
2021-06-30 14:44:48 +01:00
parent c2231e76cd
commit 63c4a32a94
4 changed files with 32 additions and 29 deletions
@@ -86,7 +86,6 @@ export class EditEventPage implements OnInit {
public stepMinutes = [1, 5, 10, 15, 20, 25];
public stepSeconds = [1, 5, 10, 15, 20, 25];
constructor(
private modalController: ModalController,
private eventsService: EventsService,
@@ -96,12 +95,11 @@ export class EditEventPage implements OnInit {
}
ngOnInit() {
if(!this.restoreTemporaryData()){
if(!this.restoreTemporaryData()) {
// clear
if(this.postEvent){
if(this.postEvent) {
if( this.postEvent.Body){
if(typeof(this.postEvent.Body.Text) == 'string'){
this.postEvent.Body.Text = this.postEvent.Body.Text.replace(/<[^>]+>/g, '');
@@ -190,7 +188,6 @@ export class EditEventPage implements OnInit {
this.clearContact.emit();
}
async addParticipantsCc() {
this.saveTemporaryData();
@@ -245,7 +242,6 @@ export class EditEventPage implements OnInit {
return false;
}
}
deleteTemporaryData(){