add defaults, deactivate animClock

This commit is contained in:
Jonathan Baecker 2020-04-21 17:34:37 +02:00
parent 6b009a77fc
commit fff82d0f73

View File

@ -34,9 +34,9 @@ export const state = () => ({
playlist: null, playlist: null,
clockStart: true, clockStart: true,
progressValue: 0, progressValue: 0,
currentClip: null, currentClip: 'No clips is playing',
timeStr: null, timeStr: '00:00:00',
timeLeft: null timeLeft: '00:00:00'
}) })
export const mutations = { export const mutations = {
@ -77,7 +77,8 @@ export const actions = {
commit('UPDATE_PLAYLIST', response.data.program) commit('UPDATE_PLAYLIST', response.data.program)
if (process.browser) { if (process.browser) {
dispatch('animClock') // TODO: find a better way for non-blocking animation
// dispatch('animClock')
} }
} }
}, },