Skip to content

Commit 2d4e5f2

Browse files
committed
Hotfix for broken custom header deployments
1 parent 717d596 commit 2d4e5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dashboard/header/DashboardHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const NeoDashboardHeader = ({
5252
<div className='n-flex n-justify-between n-h-16 n-items-center n-py-6 md:n-justify-start md:n-space-x-10 n-mx-4'>
5353
<NeoDashboardHeaderLogo resetApplication={resetApplication} />
5454
<nav className='n-items-center n-justify-center n-flex n-flex-1 n-w-full n-font-semibold'>
55-
{customHeader.length > 0
55+
{customHeader && customHeader.length > 0
5656
? `${customHeader}`
5757
: `${connection.protocol}://${connection.url}:${connection.port}`}
5858
</nav>

0 commit comments

Comments
 (0)