add defaults, deactivate animClock
This commit is contained in:
parent
6b009a77fc
commit
fff82d0f73
@ -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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user