summaryrefslogtreecommitdiffstats
path: root/webapp/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components')
-rw-r--r--webapp/src/components/GroupModule.vue2
-rw-r--r--webapp/src/components/GroupModuleGroupView.vue3
2 files changed, 2 insertions, 3 deletions
diff --git a/webapp/src/components/GroupModule.vue b/webapp/src/components/GroupModule.vue
index 5d7a25d..1e85364 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/' + action, { id, tabIndex: id === 0 ? 0 : 1, switchTab: true })
+ if (action) this.$store.dispatch('groups/' + action, { id, tabIndex: id === 0 ? 0 : 1, switchTab: true, gotoInfo: true })
}
},
updateUrl () {
diff --git a/webapp/src/components/GroupModuleGroupView.vue b/webapp/src/components/GroupModuleGroupView.vue
index 6c4905c..9fba66e 100644
--- a/webapp/src/components/GroupModuleGroupView.vue
+++ b/webapp/src/components/GroupModuleGroupView.vue
@@ -157,8 +157,7 @@ export default {
},
watch: {
group (newValue, oldValue) {
- if (!oldValue.isPlaceholder) return
- if (newValue.loadedAsParent) {
+ if (newValue.gotoInfo) {
this.activeTab = 0
return
}