Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maze-runnar committed Dec 31, 2020
1 parent 7847202 commit 0a23e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,15 @@ export default class Schedule extends Component<ScheduleArgs> {
adjustMinTime(view: FullCalendarView, calendar: JQuery<HTMLElement>): 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) {
min_time = z;
}
});
} else {
min_time='0:00:00';
min_time = '0:00:00';
}
let minTime = min_time;
let maxTime = '24:00:00';
Expand Down

0 comments on commit 0a23e02

Please sign in to comment.