Fixes editable bug on /new after logout

This commit is contained in:
Justin Edmund 2022-03-04 05:17:39 -08:00
parent 7e5b90a6c7
commit 053522a81d

View file

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