Fix navigating back to the list settings if the user navigated to them before

This commit is contained in:
kolaente 2021-01-26 22:15:32 +01:00
parent 1d36292e7e
commit 28dbeb37f6
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 0 deletions

View File

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