fix(donations): Don't show enter payment for anon donations

This commit is contained in:
2025-04-28 19:40:57 +02:00
parent 724e84441e
commit 32f72df105
2 changed files with 12 additions and 5 deletions

View File

@@ -9,10 +9,15 @@
export let paymentAction;
</script>
{#if paymentAction}
<button
on:click={paymentAction}
class="text-[#025a21] hover:text-green-900 mr-4">{$_("enter-payment")}</button
>
{:else}
<span class="inline-block opacity-0 cursor-default mr-4" style="">{$_("enter-payment")}</span>
{/if}
<TableActions
bind:detailsAction
bind:detailsLink