Update client/pages/library/_library/podcast/search.vue

This commit is contained in:
advplyr 2023-02-24 17:57:25 -06:00 committed by GitHub
parent 3f859723a6
commit ba4f585318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,7 +152,7 @@ export default {
})
console.log('Got results', results)
for (let result of results) {
let podcast = this.existentPodcasts.find((p) => p.itunesId === result.id || p.title === result.title.toLowerCase());
let podcast = this.existentPodcasts.find((p) => p.itunesId === result.id || p.title === result.title.toLowerCase())
if (podcast) {
result.alreadyInLibrary = true
}