Преглед на файлове

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

sbkwgh преди 8 години
родител
ревизия
4cbc9e3b02
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
 				});
 			}