diff options
| author | Adam Soltys <[email protected]> | 2026-03-03 23:02:33 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-03 23:02:33 -0800 |
| commit | 64c20c45d673fd37f7791bf240332f0813a23e78 (patch) | |
| tree | 699128756d1101551c7a100e09ef4058491bc18a /src | |
| parent | 1e9ed8fa128ec5ae038be14ef168cad37c1c0eb1 (diff) | |
| download | coinos-ui-64c20c45d673fd37f7791bf240332f0813a23e78.tar.gz coinos-ui-64c20c45d673fd37f7791bf240332f0813a23e78.zip | |
icon tweaks
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/invoice/[id]/+layout.server.ts | 2 | ||||
| -rw-r--r-- | src/routes/(app)/payment/[id]/+page.svelte | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/routes/(app)/invoice/[id]/+layout.server.ts b/src/routes/(app)/invoice/[id]/+layout.server.ts index a0d7d676..f31e28f1 100644 --- a/src/routes/(app)/invoice/[id]/+layout.server.ts +++ b/src/routes/(app)/invoice/[id]/+layout.server.ts @@ -27,7 +27,7 @@ export async function load({ cookies, depends, params, url, parent }) { const aid = cookies.get("aid") || user?.id; if ( user && - (invoice.uid !== user?.id || aid !== invoice.aid) && + invoice.uid !== user?.id && !(url.pathname.includes("tip") || url.pathname.includes("memo")) && !options ) { diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte index 15f42a75..ff5cc9ef 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -162,7 +162,7 @@ </button> {#if href} <a {href} target="_blank" rel="noreferrer" class="shrink-0 hover:opacity-80" onclick={(e) => e.stopPropagation()} aria-label="View in explorer"> - <PhArrowSquareOutBold width="20" class="text-secondary" /> + <PhArrowSquareOutBold width="28" class="text-secondary" /> </a> {/if} </div> @@ -214,7 +214,9 @@ {@render field("payments.total", a + (tip || 0))} {/if} - {@render field("payments.networkFee", fee)} + {#if fee > 0} + {@render field("payments.networkFee", fee)} + {/if} {#if ourfee > 0} {@render field("payments.platformFee", ourfee)} |
