Explorar o código

Fix bug where name of component in vuex was hard coded rather than set dynamically

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
4cbc9e3b02
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/TabView.vue

+ 1 - 1
src/components/TabView.vue

@@ -31,7 +31,7 @@
 			changeTab (index) {
 				this.$store.commit({
 					type: 'setTab',
-					tab: 'account',
+					tab: this.name,
 					index: index
 				});
 			}