Fix missing Edit info button on /new

This commit is contained in:
Justin Edmund 2022-03-01 01:22:24 -08:00
parent 44c2c46da8
commit cd0ac1e01f

View file

@ -65,7 +65,7 @@ const BottomHeader = () => {
} }
const leftNav = () => { const leftNav = () => {
if (router.pathname === '/p/[party]') { if (router.pathname === '/p/[party]' || router.pathname === '/new') {
if (app.party.detailsVisible) { if (app.party.detailsVisible) {
return (<Button icon="edit" active={true} click={toggleDetails}>Hide info</Button>) return (<Button icon="edit" active={true} click={toggleDetails}>Hide info</Button>)
} else { } else {