diff --git a/src/components/ImportPage.vue b/src/components/ImportPage.vue index 2874d006..cf7bf069 100644 --- a/src/components/ImportPage.vue +++ b/src/components/ImportPage.vue @@ -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 => {