Skip to content

Commit 620d796

Browse files
committed
moved action into card header.
1 parent e9a5cc8 commit 620d796

File tree

1 file changed

+7
-0
lines changed
  • src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]

1 file changed

+7
-0
lines changed

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/+layout.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<script lang="ts">
22
import { goto } from '$app/navigation';
33
import { page } from '$app/state';
4+
import { Button } from '$comp/ui/button';
45
import * as Card from '$comp/ui/card';
56
import { Separator } from '$comp/ui/separator';
67
import { getProjectQuery } from '$features/projects/api.svelte';
78
import * as SplitLayout from '$features/shared/components/layouts/split-layout';
9+
import NotificationSettings from '@lucide/svelte/icons/mail';
810
import { toast } from 'svelte-sonner';
911
1012
import SidebarNav from '../../(components)/sidebar-nav.svelte';
@@ -36,6 +38,11 @@
3638
{/if} Settings</Card.Title
3739
>
3840
<Card.Description>Manage your project settings and integrations.</Card.Description>
41+
<Card.Action>
42+
<Button variant="secondary" size="icon" href="/account/manage?tab=notifications&projectId={projectId}" title="Notification Settings">
43+
<NotificationSettings class="size-4" />
44+
</Button>
45+
</Card.Action>
3946
</Card.Header>
4047
<Separator class="mx-6 my-6 w-auto" />
4148

0 commit comments

Comments
 (0)