From 439e84267e14b9c85dce0697fbbbbef5fa82fba1 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Tue, 2 Feb 2021 09:15:44 +0100 Subject: [PATCH] fix day_start when value is 00:00:00 --- store/playlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/playlist.js b/store/playlist.js index f71a6ec7..3e1bc41b 100644 --- a/store/playlist.js +++ b/store/playlist.js @@ -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')