Fixes editable bug on /new after logout
This commit is contained in:
parent
7e5b90a6c7
commit
053522a81d
1 changed files with 2 additions and 1 deletions
|
|
@ -58,7 +58,8 @@ const TopHeader = () => {
|
|||
accountState[key] = resetState[key]
|
||||
})
|
||||
|
||||
appState.party.editable = false
|
||||
if (router.route != '/new')
|
||||
appState.party.editable = false
|
||||
|
||||
router.push('/')
|
||||
return false
|
||||
|
|
|
|||
Loading…
Reference in a new issue