Skip to content

Commit 2162f87

Browse files
committed
set up default rules
1 parent 2770034 commit 2162f87

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

apps/web/app/(app)/[emailAccountId]/assistant/Rules.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,20 @@ export function ActionBadges({
514514
}
515515

516516
function NoRules() {
517+
const { emailAccountId } = useAccount();
518+
517519
return (
518520
<CardHeader>
519-
<CardDescription>You don't have any rules yet.</CardDescription>
521+
<CardDescription className="flex flex-col items-center gap-4 py-20">
522+
You don't have any rules yet.
523+
<div>
524+
<Button asChild size="sm">
525+
<Link href={prefixPath(emailAccountId, "/assistant/onboarding")}>
526+
Set up default rules
527+
</Link>
528+
</Button>
529+
</div>
530+
</CardDescription>
520531
</CardHeader>
521532
);
522533
}

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.15.0
1+
v2.15.1

0 commit comments

Comments
 (0)