This commit is contained in:
jb-alvarado 2022-02-06 17:49:02 +01:00
parent b74ff14054
commit f34d96527a
2 changed files with 3 additions and 3 deletions

View File

@ -275,7 +275,7 @@ export default {
return this.$store.state.config.configPlayout
},
set (config) {
this.$store.commit('config/UPDATE_PLAYLOUT_CONFIG', config)
this.$store.commit('config/UPDATE_PLAYOUT_CONFIG', config)
}
},
configUser: {

View File

@ -37,7 +37,7 @@ export const mutations = {
UPDATE_PLAYLIST_LENGTH (state, sec) {
state.playlistLength = sec
},
UPDATE_PLAYLOUT_CONFIG (state, config) {
UPDATE_PLAYOUT_CONFIG (state, config) {
state.configPlayout = config
},
SET_CURRENT_USER (state, user) {
@ -157,7 +157,7 @@ export const actions = {
commit('UPDATE_PLAYLIST_LENGTH', this.$timeToSeconds(response.data.playlist.length))
}
commit('UPDATE_PLAYLOUT_CONFIG', response.data)
commit('UPDATE_PLAYOUT_CONFIG', response.data)
} else {
rootState.showErrorAlert = true
rootState.ErrorAlertMessage = 'No playout config found!'