Fix incorrect published dates in the channel search with the Invidious API (#4912)

This commit is contained in:
absidue 2024-04-09 03:26:03 +02:00 committed by GitHub
parent ae027f1c90
commit 4b509f0edd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1916,6 +1916,7 @@ export default defineComponent({
}
invidiousAPICall(payload).then((response) => {
setPublishedTimestampsInvidious(response.filter(item => item.type === 'video'))
if (this.hideChannelPlaylists) {
this.searchResults = this.searchResults.concat(response.filter(item => item.type !== 'playlist'))
} else {