mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
Fix handling of multiple session durations at the same time window
This commit is contained in:
parent
bdc4879806
commit
d5ddca0032
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class AddUsedTimeActionItemSessionDurationLimitSlot {
|
||||||
this.pause = pause
|
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 })
|
static parse = ([ start, end, duration, pause ]: [number, number, number, number]) => new AddUsedTimeActionItemSessionDurationLimitSlot({ start, end, duration, pause })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue