pass correct config path
This commit is contained in:
parent
ad3d379480
commit
8856d20509
@ -108,7 +108,8 @@ export const actions = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async setPlayoutConfig ({ commit, state }, obj) {
|
async setPlayoutConfig ({ commit, state }, obj) {
|
||||||
const update = await this.$axios.post('api/player/config/?configPlayout', { data: obj })
|
const path = state.configGui[state.configID].playout_config
|
||||||
|
const update = await this.$axios.post(`api/player/config/?configPlayout&path=${path}`, { data: obj })
|
||||||
return update
|
return update
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user