no animation in dev mode
This commit is contained in:
parent
c93558b575
commit
e556430e15
@ -344,13 +344,13 @@ export default {
|
||||
|
||||
await this.getPlaylist()
|
||||
|
||||
if (this.$ua.browser() === 'Chrome') {
|
||||
if (!process.env.DEV) {
|
||||
this.interval = setInterval(() => {
|
||||
this.$store.dispatch('playlist/animClock', { dayStart: this.configPlayout.playlist.day_start })
|
||||
}, 5000)
|
||||
} else {
|
||||
this.$store.dispatch('playlist/animClock', { dayStart: this.configPlayout.playlist.day_start })
|
||||
console.log('No anaimation on:', this.$ua.browser())
|
||||
console.log('No anaimation in dev mode')
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user