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
No known key found for this signature in database
GPG key ID: 8B8C9AEE10FA5B36

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 })
}