no animation in dev mode

This commit is contained in:
Jonathan Baecker 2020-04-30 17:51:33 +02:00
parent c93558b575
commit e556430e15

View File

@ -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')
}
},