mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-14 15:59:38 +00:00
Update media item shares to close when changing shares on same device
This commit is contained in:
parent
dd1d2b7c92
commit
43217657d7
3 changed files with 14 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue