Procházet zdrojové kódy

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

sbkwgh před 8 roky
rodič
revize
0c626412e7
1 změnil soubory, kde provedl 0 přidání a 7 odebrání
  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>