Skip to content

Commit cb54689

Browse files
committed
fix: better code
1 parent 0733316 commit cb54689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Header/breadcrumbs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const getTenantBreadcrumbs: GetBreadcrumbs<TenantBreadcrumbsOptions> = (options,
6262

6363
const breadcrumbs = getClusterBreadcrumbs(options, query);
6464

65-
const text = tenantName ? tenantName : headerKeyset('breadcrumbs.tenant');
65+
const text = tenantName || headerKeyset('breadcrumbs.tenant');
6666
const link = tenantName ? getTenantPath({...query, database: tenantName}) : undefined;
6767

6868
const lastItem = {text, link, icon: <DatabaseIcon />};

0 commit comments

Comments
 (0)