fix: move local storage list view to router
This commit is contained in:
parent
5916a44724
commit
76f4cca5fe
3 changed files with 16 additions and 23 deletions
|
|
@ -1,3 +1,5 @@
|
|||
// Save the current list view to local storage
|
||||
// We use local storage and not vuex here to make it persistent across reloads.
|
||||
export const saveListView = (listId, routeName) => {
|
||||
if (routeName.includes('settings.')) {
|
||||
return
|
||||
|
|
|
|||
Reference in a new issue