소스 검색

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

Kristian Vos 4 년 전
부모
커밋
dbf5d93edd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 (