Skip to content

Commit e57c32b

Browse files
fix(snapshots): Use shouldShowPreprodTabs for filter bar margin
The styled ReleasesPageFilterBar was still keyed on shouldShowMobileBuildsTab, so the margin was wrong when only the snapshots tab was visible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bb6e917 commit e57c32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

static/app/views/releases/list/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export default function ReleasesList() {
486486

487487
<ReleasesPageFilterBar
488488
condensed
489-
shouldShowMobileBuildsTab={shouldShowMobileBuildsTab}
489+
shouldShowPreprodTabs={shouldShowPreprodTabs}
490490
>
491491
<ProjectPageFilter />
492492
<EnvironmentPageFilter
@@ -654,8 +654,8 @@ export default function ReleasesList() {
654654
);
655655
}
656656

657-
const ReleasesPageFilterBar = styled(PageFilterBar)<{shouldShowMobileBuildsTab: boolean}>`
658-
${p => !p.shouldShowMobileBuildsTab && `margin-bottom: ${p.theme.space.xl};`}
657+
const ReleasesPageFilterBar = styled(PageFilterBar)<{shouldShowPreprodTabs: boolean}>`
658+
${p => !p.shouldShowPreprodTabs && `margin-bottom: ${p.theme.space.xl};`}
659659
`;
660660

661661
const SortAndFilterWrapper = styled('div')`

0 commit comments

Comments
 (0)