diff --git a/ui/src/components/door_map/calendar.ts b/ui/src/components/door_map/calendar.ts index 0b22a67..035b230 100644 --- a/ui/src/components/door_map/calendar.ts +++ b/ui/src/components/door_map/calendar.ts @@ -14,6 +14,6 @@ export class Door { } public set day(day: number) { - this._day = Math.max(day, -1); + this._day = Math.max(Math.floor(day), -1); } } \ No newline at end of file