From 1b163279d5c2551061d84a17c7256eee93c0bbf4 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Tue, 21 Apr 2020 15:28:31 +0200 Subject: [PATCH] animate in brwoser context --- ffplayout/frontend/store/playlist.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ffplayout/frontend/store/playlist.js b/ffplayout/frontend/store/playlist.js index 39844367..3cd1193f 100644 --- a/ffplayout/frontend/store/playlist.js +++ b/ffplayout/frontend/store/playlist.js @@ -75,7 +75,10 @@ export const actions = { } commit('UPDATE_PLAYLIST', response.data.program) - dispatch('animClock') + + if (process.browser) { + dispatch('animClock') + } } },