Fix navigating back to the list settings if the user navigated to them before
This commit is contained in:
parent
1d36292e7e
commit
28dbeb37f6
|
@ -1,4 +1,8 @@
|
|||
export const saveListView = (listId, routeName) => {
|
||||
if(routeName.includes('settings.')) {
|
||||
return
|
||||
}
|
||||
|
||||
const savedListView = localStorage.getItem('listView')
|
||||
let savedListViewJson = false
|
||||
if (savedListView !== null) {
|
||||
|
|
Reference in New Issue