badge fixes

This commit is contained in:
miloschwartz
2026-04-21 20:20:33 -07:00
parent 320543f7f8
commit a7c212ffa4
4 changed files with 8 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ import { useTranslations } from "next-intl";
import { PaidFeaturesAlert } from "@app/components/PaidFeaturesAlert";
import { SwitchInput } from "@app/components/SwitchInput";
import { tierMatrix } from "@server/lib/billing/tierMatrix";
import { Badge } from "../ui/badge";
const FORM_ID = "alert-rule-form";
@@ -180,9 +181,9 @@ export default function AlertRuleGraphEditor({
>
<div className="flex flex-wrap items-center gap-2">
{isNew && (
<span className="text-xs rounded-md border bg-muted px-2 py-1 text-muted-foreground">
<Badge variant="secondary" >
{t("alertingDraftBadge")}
</span>
</Badge>
)}
</div>
<FormField