mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 01:35:08 +02:00
Fix:Open stream update with full audiobook object #255
This commit is contained in:
parent
e62037c91c
commit
49fcaefd01
3 changed files with 6 additions and 1 deletions
|
@ -110,6 +110,9 @@ export const mutations = {
|
|||
state.playOnLoad = true
|
||||
state.streamAudiobook = audiobook
|
||||
},
|
||||
updateStreamAudiobook(state, audiobook) { // Initial stream audiobook is minified, on open audiobook is updated to full
|
||||
state.streamAudiobook = audiobook
|
||||
},
|
||||
setStream(state, stream) {
|
||||
state.playOnLoad = false
|
||||
state.streamAudiobook = stream ? stream.audiobook : null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue