Allow choosing skipping segments.

This commit is contained in:
FireMasterK
2021-02-25 20:48:59 +05:30
parent 058f0d4e8c
commit a1ff5c53ce
2 changed files with 108 additions and 2 deletions

View File

@@ -129,7 +129,14 @@ export default {
Constants.BASE_URL +
"/sponsors/" +
this.$route.query.v +
'?category=["sponsor","interaction","selfpromo","music_offtopic"]'
"?category=" +
(localStorage
? encodeURIComponent(
"[" + localStorage.getItem("selectedSkip") + "]"
)
: encodeURIComponent(
'["sponsor", "interaction", "selfpromo", "music_offtopic"]'
))
);
},
onChange() {