Browse Source

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

Kristian Vos 5 years ago
parent
commit
8a028799f3
1 changed files with 1 additions and 1 deletions
  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');