Pārlūkot izejas kodu

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

sbkwgh 8 gadi atpakaļ
vecāks
revīzija
4cbc9e3b02
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 				});
 			}