Settings/Fix: Filter out non-YouTube links in NewPipe imports (#1319)

This commit is contained in:
ChunkyProgrammer 2021-05-23 11:42:04 -04:00 committed by GitHub
parent ce9dfe148e
commit 2def271bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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 = []