fix day_start when value is 00:00:00

This commit is contained in:
jb-alvarado 2021-02-02 09:15:44 +01:00
parent c288455454
commit 439e84267e

@ -77,7 +77,7 @@ export const actions = {
let begin
let lastTime = this.$timeToSeconds(this.$dayjs().format('HH:mm:ss'))
if (rootState.config.startInSec) {
if (Number.isFinite(rootState.config.startInSec)) {
begin = rootState.config.startInSec
} else {
commit('SET_CURRENT_CLIP', 'day_start is not set, cannot calculate current clip')