Update src/components/ImportPage.vue

Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
This commit is contained in:
endingisnight 2024-02-26 23:47:26 +02:00 committed by GitHub
parent 2fd8c4128d
commit 3b181eaa52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,7 +100,7 @@ export default {
});
}
// Libretube
else if (text.indexOf("localSubscriptions") != -1) {
else if (text.includes("localSubscriptions")) {
const json = JSON.parse(text);
json.localSubscriptions
.forEach(item => {