Parcourir la source

Fixed issue where station wouldn't load, pause or skip, and more

Kristian Vos il y a 5 ans
Parent
commit
8a028799f3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      frontend/components/Station/Station.vue

+ 1 - 1
frontend/components/Station/Station.vue

@@ -636,7 +636,7 @@
 
 				io.removeAllListeners();
 				if (_this.socket.connected) _this.join();
-				io.onConnect(_this.join());
+				io.onConnect(_this.join);
 				_this.socket.emit('stations.findByName', _this.stationName, res => {
 					if (res.status === 'error') {
 						_this.$router.go('/404');