Fix missing Edit info button on /new
This commit is contained in:
parent
44c2c46da8
commit
cd0ac1e01f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue