Skip to content

Commit 61ad118

Browse files
committed
fix(tools): revert admin flag
1 parent 930138f commit 61ad118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/tools/[toolId]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163
>
164164
{/if}
165165
{/if}
166-
{#if !data?.user?.isAdmin}
166+
{#if data?.user?.isAdmin}
167167
<form method="POST" action="?/delete" use:enhance>
168168
<button type="submit" class="flex items-center text-red-600 underline">
169169
<CarbonTrash class="mr-1.5 inline text-xs" />Delete</button

0 commit comments

Comments
 (0)