Skip to content

Commit 43d9ffa

Browse files
briansmileyclaude
andcommitted
Show Create Auction button for all users, not just admins
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4277064 commit 43d9ffa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

frontend/src/routes/auction/+page.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929

3030
<div class="mr-auto flex flex-col gap-8 pt-8">
3131
<h1 class="text-xl font-bold">Auction</h1>
32-
{#if serverState.isAdmin && serverState.sudoEnabled}
33-
<CreateAuction />
34-
{/if}
32+
<CreateAuction />
3533

3634
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
3735
{#each Array.from(serverState.auctions.values()).sort((a, b) => (a.transactionTimestamp?.seconds ?? 0) - (b.transactionTimestamp?.seconds ?? 0)) as auction}

0 commit comments

Comments
 (0)