Prechádzať zdrojové kódy

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

sbkwgh 8 rokov pred
rodič
commit
4cbc9e3b02
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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
 				});
 			}