Skip to content

Commit f17da61

Browse files
Use ternary for narrow settings header state
1 parent 9d0d87a commit f17da61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/settings/components/settingsPageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function UnstyledSettingsPageHeader({
5353
// If Header is narrow, use align-items to center <Action>.
5454
// Otherwise, use a fixed margin to prevent an odd alignment.
5555
// This is needed as Actions could be a button or a dropdown.
56-
const isNarrow = !hasSubtitle;
56+
const isNarrow = hasSubtitle ? false : true;
5757
const breadcrumbTitle =
5858
hasPageFrame && typeof title === 'string' ? (
5959
<BreadcrumbTitle routes={routes} title={title} />

0 commit comments

Comments
 (0)