소스 검색

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
 				});
 			}