summaryrefslogtreecommitdiffstats
path: root/webapp/src/store
diff options
context:
space:
mode:
authorUdo Walter2019-04-13 15:33:51 +0200
committerUdo Walter2019-04-13 15:33:51 +0200
commit53028fd8498c7b7ea997c1af51162d26d972ba05 (patch)
treefcf8dbedb382f95aee4f00fc2ea8fc3b64f1c5f5 /webapp/src/store
parent[datatable] fix values with comma in csv copy (diff)
downloadbas-53028fd8498c7b7ea997c1af51162d26d972ba05.tar.gz
bas-53028fd8498c7b7ea997c1af51162d26d972ba05.tar.xz
bas-53028fd8498c7b7ea997c1af51162d26d972ba05.zip
[groups,clients] include config as association
Diffstat (limited to 'webapp/src/store')
-rw-r--r--webapp/src/store/groups.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/webapp/src/store/groups.js b/webapp/src/store/groups.js
index 28dc0fd..8d97bd7 100644
--- a/webapp/src/store/groups.js
+++ b/webapp/src/store/groups.js
@@ -7,7 +7,6 @@ export default {
groupList: [],
clientList: [],
configList: [],
- configNames: {},
tabChain: [],
activeTab: 0,
dialog: {
@@ -18,14 +17,7 @@ export default {
mutations: {
setGroupList: (state, list) => { state.groupList = list },
setClientList: (state, list) => { state.clientList = list },
- setConfigList: (state, list) => {
- state.configList = list
- var names = {}
- list.forEach(config => {
- names[config.id] = config.name
- })
- state.configNames = names
- },
+ setConfigList: (state, list) => { state.configList = list },
setActiveTab (state, index) { state.activeTab = index },
setShowAll (state, { index, value }) { state.tabChain[index].tabShowAll = value },
deleteFromTabChain (state, { index, count }) { state.tabChain.splice(index, count) },