瀏覽代碼

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>