소스 검색

Remove unneccessary cruft of changing this and that on logout - next commit will just redirect user to homepage

sbkwgh 8 년 전
부모
커밋
0c626412e7
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      src/components/HeartButton.vue

+ 0 - 7
src/components/HeartButton.vue

@@ -84,13 +84,6 @@
 						})
 				}
 			}
-		},
-		watch: {
-			//TODO: fix this subtle bug
-			'$store.state.username': function() {
-				this._liked = false
-				this.$forceUpdate()
-			}
 		}
 	}
 </script>