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.vue10
1 files changed, 7 insertions, 3 deletions
diff --git a/webapp/src/components/GroupModule.vue b/webapp/src/components/GroupModule.vue
index 36d6fcb..4630824 100644
--- a/webapp/src/components/GroupModule.vue
+++ b/webapp/src/components/GroupModule.vue
@@ -93,9 +93,13 @@ export default {
}
},
created () {
- this.$store.dispatch('groups/loadConfigs')
- this.$store.dispatch('groups/loadLists')
- if (this.tabChain.length === 0) this.$store.dispatch('groups/loadGroup', { id: 0, tabIndex: 0 })
+ if (this.tabChain.length === 0) {
+ this.$store.dispatch('groups/loadGroup', { id: 0, tabIndex: 0 })
+ this.$store.dispatch('groups/loadConfigs')
+ this.$store.dispatch('groups/loadLists')
+ } else {
+ this.reload()
+ }
if (this.$route.params.id !== '0') this.loadItem(this.$route.name, this.$route.params.id)
this.$router.replace({
name: 'GroupModule.' + this.tabChain[this.activeTab].tabType,