mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 17:54:54 +02:00
Update:Send source back with auth request
This commit is contained in:
parent
f083d4b5f6
commit
8beac53f5f
8 changed files with 29 additions and 13 deletions
|
@ -2,6 +2,7 @@ import { checkForUpdate } from '@/plugins/version'
|
|||
import Vue from 'vue'
|
||||
|
||||
export const state = () => ({
|
||||
Source: null,
|
||||
versionData: null,
|
||||
serverSettings: null,
|
||||
streamLibraryItem: null,
|
||||
|
@ -81,6 +82,9 @@ export const actions = {
|
|||
}
|
||||
|
||||
export const mutations = {
|
||||
setSource(state, source) {
|
||||
state.Source = source
|
||||
},
|
||||
setLastBookshelfScrollData(state, { scrollTop, path, name }) {
|
||||
state.lastBookshelfScrollData[name] = { scrollTop, path }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue