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

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>