propagation
ci / docker_image (push) Successful in 2m38s
ci / deploy (push) Successful in 29s

This commit is contained in:
2026-06-30 12:57:04 -05:00
parent 681b15e793
commit 6f375cd990
@@ -98,13 +98,13 @@
{#if item.approvedDate === null} {#if item.approvedDate === null}
<Button variant="ghost" class="text-positive" <Button variant="ghost" class="text-positive"
onclick={async () => {await approveDenyItem({id: item.id, approved: true}); onclick={async (e) => {e.stopPropagation(); await approveDenyItem({id: item.id, approved: true});
await invalidateAll()}}> await invalidateAll()}}>
<CheckIcon /> <CheckIcon />
Approve Approve
</Button> </Button>
<Button variant="ghost" class="text-destructive" <Button variant="ghost" class="text-destructive"
onclick={async () => {await approveDenyItem({id: item.id, approved: false}); onclick={async (e) => {e.stopPropagation(); await approveDenyItem({id: item.id, approved: false});
await invalidateAll()}}> await invalidateAll()}}>
<XIcon /> <XIcon />
Deny Deny
@@ -112,19 +112,19 @@
{/if} {/if}
{#if item.claimedDate === null} {#if item.claimedDate === null}
<Button variant="ghost" class="text-action" <Button variant="ghost" class="text-action"
onclick={() => {editCallback(item)}}> onclick={(e) => {e.stopPropagation(); editCallback(item)}}>
<PencilIcon /> <PencilIcon />
{!item.approvedDate ? 'Edit' : 'Manage'} {!item.approvedDate ? 'Edit' : 'Manage'}
</Button> </Button>
{:else} {:else}
<Button variant="ghost" class="text-destructive" <Button variant="ghost" class="text-destructive"
onclick={async () => {await approveDenyItem({id: item.id, approved: false}); onclick={async (e) => {e.stopPropagation(); await approveDenyItem({id: item.id, approved: false});
await invalidateAll()}}> await invalidateAll()}}>
<TrashIcon /> <TrashIcon />
Delete Delete
</Button> </Button>
<Button variant="ghost" class="text-action" <Button variant="ghost" class="text-action"
onclick={async () => {await restoreClaimedItem(item.id); onclick={async (e) => {e.stopPropagation(); await restoreClaimedItem(item.id);
await invalidateAll()}}> await invalidateAll()}}>
<ArchiveRestoreIcon /> <ArchiveRestoreIcon />
Restore Restore