diff options
| author | Adam Soltys <[email protected]> | 2026-02-03 11:41:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:33:27 -0800 |
| commit | 4bc319a709d27bcdb805294e019d53e25f6e00c5 (patch) | |
| tree | 2ab903d969946ddd6129f2e6b796368adeef65cd /src/components/Payments.svelte | |
| parent | 8a6108a56c2e5035fd99c39ea13104cf23d98e2d (diff) | |
| download | coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.tar.gz coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.zip | |
fix warnings
Diffstat (limited to 'src/components/Payments.svelte')
| -rw-r--r-- | src/components/Payments.svelte | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/Payments.svelte b/src/components/Payments.svelte index 0f07cc2b..dd153ec6 100644 --- a/src/components/Payments.svelte +++ b/src/components/Payments.svelte @@ -17,6 +17,10 @@ class:border-b-0={i === payments.length - 1} class:text-error={amount < 0} onclick={() => goto(`/payment/${p.id}`)} + onkeydown={(e) => + (e.key === "Enter" || e.key === " ") && goto(`/payment/${p.id}`)} + role="button" + tabindex="0" > <div class="whitespace-nowrap my-auto col-span-3"> <div class="font-bold flex items-center"> @@ -86,7 +90,7 @@ class="text-yellow-300 text-3xl" ></iconify-icon> {:else if p.type === types.ecash} - <img src="/images/cash.png" class="w-12" /> + <img src="/images/cash.png" class="w-12" alt="Ecash" /> {:else if p.type === types.reconcile} <iconify-icon noobserver icon="ph:scales-bold" width="32" ></iconify-icon> |
