summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModule.vue
diff options
context:
space:
mode:
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 8a301e3..d12be50 100644
--- a/webapp/src/components/GroupModule.vue
+++ b/webapp/src/components/GroupModule.vue
@@ -88,7 +88,7 @@ export default {
this.setActiveTab(1)
} else {
const action = type === 'group' ? 'loadGroup' : type === 'client' ? 'loadClient' : null
- if (action) this.$store.dispatch('groups/' + action, { id, tabIndex: 1, switchTab: true })
+ if (action) this.$store.dispatch('groups/' + action, { id, tabIndex: id === 0 ? 0 : 1, switchTab: true })
}
}
},