summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModuleDialog.vue
diff options
context:
space:
mode:
authorUdo Walter2018-08-02 19:43:24 +0200
committerUdo Walter2018-08-02 19:43:24 +0200
commit8228b952483c1aa489e77fb2ee5380b218ad0b80 (patch)
tree8ff4fadfbf5ab8272214eab2ca2beb5066cd028a /webapp/src/components/GroupModuleDialog.vue
parent[groups] add dialog to delete, remove and add groups/clients (diff)
downloadbas-8228b952483c1aa489e77fb2ee5380b218ad0b80.tar.gz
bas-8228b952483c1aa489e77fb2ee5380b218ad0b80.tar.xz
bas-8228b952483c1aa489e77fb2ee5380b218ad0b80.zip
eslint fixes
Diffstat (limited to 'webapp/src/components/GroupModuleDialog.vue')
-rw-r--r--webapp/src/components/GroupModuleDialog.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/webapp/src/components/GroupModuleDialog.vue b/webapp/src/components/GroupModuleDialog.vue
index 720913f..92cb16b 100644
--- a/webapp/src/components/GroupModuleDialog.vue
+++ b/webapp/src/components/GroupModuleDialog.vue
@@ -126,10 +126,10 @@ export default {
}
},
submitAction () {
- const actionMap = {
- 'delete': { 'group': 'deleteGroups', 'client': 'deleteClients'},
- 'remove': { 'group': 'removeSubroups', 'client': 'removeClients'},
- 'add': { 'group': 'addSubgroups', 'client': 'addClients'}
+ const actionMap = {
+ 'delete': { 'group': 'deleteGroups', 'client': 'deleteClients' },
+ 'remove': { 'group': 'removeSubroups', 'client': 'removeClients' },
+ 'add': { 'group': 'addSubgroups', 'client': 'addClients' }
}
var data = { ...this.dialog.info }
if (this.dialog.info.action === 'add') data.selected = this.selected
@@ -141,7 +141,7 @@ export default {
var item = { tabType: this.dialog.info.type }
if (this.dialog.info.type === 'group') item.parents = [this.tabChain[this.dialog.info.tabIndex]]
else if (this.dialog.info.type === 'client') item.groups = [this.tabChain[this.dialog.info.tabIndex]]
- this.setTab({ index: this.dialog.info.tabIndex + 1, item })
+ this.setTab({ index: this.dialog.info.tabIndex + 1, item })
this.setActiveTab(this.dialog.info.tabIndex + 1)
}
}