diff options
| author | Adam Soltys <[email protected]> | 2024-11-12 23:36:15 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-12 23:36:15 -0800 |
| commit | bee96ca44e871b0482012be50e8e7686f534c5a3 (patch) | |
| tree | 8eee96b61e7996b0b5f94b596391949825a39b45 /src/components/InvoiceTypes.svelte | |
| parent | e6742ec5b333e5b3b7d174eae9f79c7d63b4b4e9 (diff) | |
| download | coinos-ui-bee96ca44e871b0482012be50e8e7686f534c5a3.tar.gz coinos-ui-bee96ca44e871b0482012be50e8e7686f534c5a3.zip | |
lightning bolt
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
| -rw-r--r-- | src/components/InvoiceTypes.svelte | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte index cdd01aac..4dae235a 100644 --- a/src/components/InvoiceTypes.svelte +++ b/src/components/InvoiceTypes.svelte @@ -1,15 +1,8 @@ <script> - let { - aid, - user, - type, - types, - t, - setType - } = $props(); + let { aid, invoice, user, type, types, t, setType } = $props(); </script> -{#if aid === user?.id} +{#if invoice.uid === aid} <div class="grid grid-cols-2 gap-2 justify-around text-secondary"> <button class="btn flex-nowrap" @@ -38,7 +31,10 @@ onclick={() => setType(types.lightning)} > <div class="bg-base-100 rounded-full w-8 h-8 text-center flex"> - <div class="m-auto">⚡️</div> + <div class="m-auto"> + <iconify-icon icon="ph:lightning-fill" class="text-yellow-300" + ></iconify-icon> + </div> </div> <div class="my-auto text-lg">Lightning</div> </button> |
