From 2def271bb2518edb0a12825ed0c3dd52481814a1 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Sun, 23 May 2021 11:42:04 -0400 Subject: [PATCH] Settings/Fix: Filter out non-YouTube links in NewPipe imports (#1319) --- src/renderer/components/data-settings/data-settings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/components/data-settings/data-settings.js b/src/renderer/components/data-settings/data-settings.js index 102d1cec..8c348762 100644 --- a/src/renderer/components/data-settings/data-settings.js +++ b/src/renderer/components/data-settings/data-settings.js @@ -480,7 +480,9 @@ export default Vue.extend({ return } - const newPipeSubscriptions = newPipeData.subscriptions + const newPipeSubscriptions = newPipeData.subscriptions.filter((channel, index) => { + return channel.service_id === 0 + }) const primaryProfile = JSON.parse(JSON.stringify(this.profileList[0])) const subscriptions = []