Fix handling of multiple session durations at the same time window

This commit is contained in:
Jonas Lochmann
2020-09-14 02:00:00 +02:00
parent bdc4879806
commit d5ddca0032
+1 -1
View File
@@ -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 })
}