fix: move local storage list view to router

This commit is contained in:
Dominik Pschenitschni 2021-12-10 18:04:07 +01:00
parent 5916a44724
commit 76f4cca5fe
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
3 changed files with 16 additions and 23 deletions

View file

@ -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