Parcourir la source

Added a check to only automatically vote to skip if you're logged in

Kristian Vos il y a 4 ans
Parent
commit
dbf5d93edd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      frontend/src/pages/Station/index.vue

+ 1 - 1
frontend/src/pages/Station/index.vue

@@ -563,7 +563,7 @@ export default {
 						},
 						onError: err => {
 							console.log("iframe error", err);
-							this.voteSkipStation();
+							if (this.loggedIn) this.voteSkipStation();
 						},
 						onStateChange: event => {
 							if (