mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-09 12:12:43 +02:00
Update media item shares to close when changing shares on same device
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user