mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-25 21:04:02 +02:00
Change:persist last search term #142
This commit is contained in:
+5
-1
@@ -2,7 +2,8 @@ export const state = () => ({
|
||||
itemDownloads: [],
|
||||
bookshelfListView: false,
|
||||
series: null,
|
||||
localMediaProgress: []
|
||||
localMediaProgress: [],
|
||||
lastSearch: null
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
@@ -82,5 +83,8 @@ export const mutations = {
|
||||
},
|
||||
removeLocalMediaProgress(state, id) {
|
||||
state.localMediaProgress = state.localMediaProgress.filter(lmp => lmp.id != id)
|
||||
},
|
||||
setLastSearch(state, val) {
|
||||
state.lastSearch = val
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user