summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModule.vue
diff options
context:
space:
mode:
authorUdo Walter2018-08-04 07:08:10 +0200
committerUdo Walter2018-08-04 07:08:10 +0200
commita9a10cbe6195623a161c97ad837d8c235aae1c5a (patch)
tree5a3eef4bb49db3c5f5f1150b33775869705f95a4 /webapp/src/components/GroupModule.vue
parentnvm (diff)
downloadbas-a9a10cbe6195623a161c97ad837d8c235aae1c5a.tar.gz
bas-a9a10cbe6195623a161c97ad837d8c235aae1c5a.tar.xz
bas-a9a10cbe6195623a161c97ad837d8c235aae1c5a.zip
[webapp/groups] small bugfix
Diffstat (limited to 'webapp/src/components/GroupModule.vue')
-rw-r--r--webapp/src/components/GroupModule.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/GroupModule.vue b/webapp/src/components/GroupModule.vue
index 29329b4..4d4c765 100644
--- a/webapp/src/components/GroupModule.vue
+++ b/webapp/src/components/GroupModule.vue
@@ -84,7 +84,7 @@ export default {
this.setActiveTab(1)
} else {
const action = type === 'group' ? 'loadGroup' : type === 'client' ? 'loadClient' : null
- if (action) this.$store.dispatch('groups/loadGroup', { id, tabIndex: 1, switchTab: true })
+ if (action) this.$store.dispatch('groups/' + action, { id, tabIndex: 1, switchTab: true })
}
}
},