Fix a bug that would wrongly show a date validation error when creating whole day events
All checks were successful
Jenkins Production Deployment
All checks were successful
Jenkins Production Deployment
This commit is contained in:
parent
469c83856d
commit
b1f8667705
|
@ -101,6 +101,7 @@ export class EventComponent implements OnInit {
|
||||||
if(this.event.endDateTime < this.event.startDateTime) {
|
if(this.event.endDateTime < this.event.startDateTime) {
|
||||||
this.newEndDate = this.serializeDate(this.event.startDateTime);
|
this.newEndDate = this.serializeDate(this.event.startDateTime);
|
||||||
this.newEndTime = this.serializeTime(this.event.startDateTime);
|
this.newEndTime = this.serializeTime(this.event.startDateTime);
|
||||||
|
this.setEndDateTime();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,8 +18,8 @@ export class AdminComponent implements OnInit {
|
||||||
password: string = '';
|
password: string = '';
|
||||||
name: string = '';
|
name: string = '';
|
||||||
email: string = '';
|
email: string = '';
|
||||||
eventFilter: string = 'all';
|
eventFilter: string = 'future'; // Default value for filter
|
||||||
eventSorting: string = 'start_asc';
|
eventSorting: string = 'start_asc'; // Default value for sorting
|
||||||
isActive: boolean = false;
|
isActive: boolean = false;
|
||||||
registerEmail: string = '';
|
registerEmail: string = '';
|
||||||
registerPassword: string = '';
|
registerPassword: string = '';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user