load config
This commit is contained in:
parent
3a2254cfa0
commit
2cb5920c06
@ -20,11 +20,13 @@
|
||||
<b-nav-item to="/configure" exact-active-class="active-menu-item">
|
||||
Configure
|
||||
</b-nav-item>
|
||||
<b-nav-text> </b-nav-text>
|
||||
<b-nav-item-dropdown :text="configGui[configID].channel" right>
|
||||
<b-dropdown-item v-for="(channel, index) in configGui" :key="channel.key" @click="selectChannel(index)">
|
||||
{{ channel.channel }}
|
||||
</b-dropdown-item>
|
||||
</b-nav-item-dropdown>
|
||||
<b-nav-text> </b-nav-text>
|
||||
<b-nav-item to="/" @click="logout()">
|
||||
Logout
|
||||
</b-nav-item>
|
||||
@ -55,6 +57,7 @@ export default {
|
||||
|
||||
selectChannel (index) {
|
||||
this.$store.commit('config/UPDATE_CONFIG_ID', index)
|
||||
this.$store.dispatch('config/getPlayoutConfig')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user