Fix ebook url #75, download other files #75, fix book icon disappearing #88, backups #87

This commit is contained in:
advplyr 2021-10-08 17:30:20 -05:00
parent f752c19418
commit e80ec10e8a
32 changed files with 954 additions and 74 deletions

View file

@ -14,7 +14,8 @@ export const state = () => ({
processingBatch: false,
previousPath: '/',
routeHistory: [],
showExperimentalFeatures: false
showExperimentalFeatures: false,
backups: []
})
export const getters = {
@ -130,5 +131,8 @@ export const mutations = {
setExperimentalFeatures(state, val) {
state.showExperimentalFeatures = val
localStorage.setItem('experimental', val ? 1 : 0)
},
setBackups(state, val) {
state.backups = val.sort((a, b) => b.createdAt - a.createdAt)
}
}