Update media item shares to close when changing shares on same device

This commit is contained in:
advplyr 2024-07-04 11:19:29 -05:00
parent dd1d2b7c92
commit 43217657d7
3 changed files with 14 additions and 11 deletions

View file

@ -568,7 +568,6 @@ class LibraryItem extends Model {
oldLibraryItem.numEpisodesIncomplete = li.numEpisodesIncomplete
}
if (li.mediaType === 'book' && options.include?.includes?.('share')) {
console.log('Lookup share for media item id', li.mediaId)
oldLibraryItem.mediaItemShare = ShareManager.findByMediaItemId(li.mediaId)
}