Browse Source

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

Kristian Vos 4 năm trước cách đây
mục cha
commit
dbf5d93edd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 (