fix day_start when value is 00:00:00
This commit is contained in:
parent
c288455454
commit
439e84267e
@ -77,7 +77,7 @@ export const actions = {
|
|||||||
let begin
|
let begin
|
||||||
let lastTime = this.$timeToSeconds(this.$dayjs().format('HH:mm:ss'))
|
let lastTime = this.$timeToSeconds(this.$dayjs().format('HH:mm:ss'))
|
||||||
|
|
||||||
if (rootState.config.startInSec) {
|
if (Number.isFinite(rootState.config.startInSec)) {
|
||||||
begin = rootState.config.startInSec
|
begin = rootState.config.startInSec
|
||||||
} else {
|
} else {
|
||||||
commit('SET_CURRENT_CLIP', 'day_start is not set, cannot calculate current clip')
|
commit('SET_CURRENT_CLIP', 'day_start is not set, cannot calculate current clip')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user