Fix a bug that would wrongly show a date validation error when creating whole day events
All checks were successful
Jenkins Production Deployment

This commit is contained in:
Patrick Müller 2023-08-05 20:43:44 +02:00
parent 469c83856d
commit b1f8667705
Signed by: Paddy
GPG Key ID: 37ABC11275CAABCE
2 changed files with 3 additions and 2 deletions

View File

@ -101,6 +101,7 @@ export class EventComponent implements OnInit {
if(this.event.endDateTime < this.event.startDateTime) {
this.newEndDate = this.serializeDate(this.event.startDateTime);
this.newEndTime = this.serializeTime(this.event.startDateTime);
this.setEndDateTime();
}
}
}

View File

@ -18,8 +18,8 @@ export class AdminComponent implements OnInit {
password: string = '';
name: string = '';
email: string = '';
eventFilter: string = 'all';
eventSorting: string = 'start_asc';
eventFilter: string = 'future'; // Default value for filter
eventSorting: string = 'start_asc'; // Default value for sorting
isActive: boolean = false;
registerEmail: string = '';
registerPassword: string = '';