Skip to content

Commit 532fdca

Browse files
committed
Fix to keep the Alerts progress bar at the bottom of the screen when you have reached the max
1 parent 186942d commit 532fdca

File tree

1 file changed

+5
-5
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.alerts

1 file changed

+5
-5
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.alerts/route.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ export default function Page() {
177177
alertChannels.length === 0 ? "grid-rows-[1fr_auto]" : "grid-rows-[auto_1fr_auto]"
178178
)}
179179
>
180-
{alertChannels.length > 0 && !requiresUpgrade && (
181-
<div className="flex h-fit items-end justify-between p-2 pl-3">
182-
<Header2 className="">Project alerts</Header2>
180+
<div className="flex h-fit items-end justify-between p-2 pl-3">
181+
<Header2 className="">Project alerts</Header2>
182+
{alertChannels.length > 0 && !requiresUpgrade && (
183183
<LinkButton
184184
to={v3NewProjectAlertPath(organization, project)}
185185
variant="primary/small"
@@ -188,8 +188,8 @@ export default function Page() {
188188
>
189189
New alert
190190
</LinkButton>
191-
</div>
192-
)}
191+
)}
192+
</div>
193193
<Table containerClassName={cn(alertChannels.length === 0 && "border-t-0")}>
194194
<TableHeader>
195195
<TableRow>

0 commit comments

Comments
 (0)