Prechádzať zdrojové kódy

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

Kristian Vos 5 rokov pred
rodič
commit
8a028799f3
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      frontend/components/Station/Station.vue

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

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