Calendar: Fix end date did not hide when using an event duration

This commit is contained in:
nathan 2023-02-24 11:59:26 -07:00
parent fe0af6a487
commit 74f0822494

View File

@ -1463,7 +1463,8 @@ export class CalendarApp extends EgwApp
if(duration != null && end != null)
{
end.set_disabled(duration.get_value()!=='');
end.set_disabled(duration.get_value() !== '');
end.classList.toggle("hideme", end.disabled);
// Only set end date if not provided, adding seconds fails with DST
// @ts-ignore