feat: add back button in company details top bar (#729)
* feat: add back button in company details top bar Closes #636 * Add back button on person page --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -30,6 +30,7 @@ export function CompanyShow() {
|
||||
return (
|
||||
<WithTopBarContainer
|
||||
title={company?.name ?? ''}
|
||||
hasBackButton
|
||||
icon={<IconBuildingSkyscraper size={theme.icon.size.md} />}
|
||||
>
|
||||
<ShowPageLeftContainer>
|
||||
|
||||
@ -24,6 +24,7 @@ export function PersonShow() {
|
||||
<WithTopBarContainer
|
||||
title={person?.firstName ?? ''}
|
||||
icon={<IconUser size={theme.icon.size.md} />}
|
||||
hasBackButton
|
||||
>
|
||||
<>
|
||||
<ShowPageLeftContainer>
|
||||
|
||||
Reference in New Issue
Block a user