diff --git a/app/components/schedule.ts b/app/components/schedule.ts index 0f94fb65f1a..d70e0e343fe 100644 --- a/app/components/schedule.ts +++ b/app/components/schedule.ts @@ -122,7 +122,7 @@ export default class Schedule extends Component { adjustMinTime(view: FullCalendarView, calendar: JQuery): void { if (isTesting || !(view.type === 'agendaDay' || view.type === 'timelineDay')) {return} let min_time = '24:00:00'; - if(this.args.isPublic === true) { + if (this.args.isPublic === true) { this.args.sessions.map(x => { const z = String(x.startsAt.format('HH:mm:ss')); if (min_time > z) { @@ -130,7 +130,7 @@ export default class Schedule extends Component { } }); } else { - min_time='0:00:00'; + min_time = '0:00:00'; } let minTime = min_time; let maxTime = '24:00:00';