Fix updating media progress object id

This commit is contained in:
advplyr committed 2022-04-08 19:27:35 -05:00
1 parent 3a7cafbb95
commit baf738f5ba
3 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ export default {
selectedIsFinished() {
// Find an item that is not finished, if none then all items finished
return !this.selectedLibraryItems.find((libraryItemId) => {
var itemProgress = this.userMediaProgress.find((lip) => lip.id === libraryItemId)
var itemProgress = this.userMediaProgress.find((lip) => lip.libraryItemId === libraryItemId)
return !itemProgress || !itemProgress.isFinished
})
},