Ver Fonte

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

sbkwgh há 8 anos atrás
pai
commit
4cbc9e3b02
1 ficheiros alterados com 1 adições e 1 exclusões
  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
 				});
 			}