mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Fix handling of multiple session durations at the same time window
This commit is contained in:
@@ -171,7 +171,7 @@ class AddUsedTimeActionItemSessionDurationLimitSlot {
|
||||
this.pause = pause
|
||||
}
|
||||
|
||||
serialize = () => [ this.start, this.end ]
|
||||
serialize = () => [ this.start, this.end, this.duration, this.pause ]
|
||||
|
||||
static parse = ([ start, end, duration, pause ]: [number, number, number, number]) => new AddUsedTimeActionItemSessionDurationLimitSlot({ start, end, duration, pause })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user