diff --git a/src/routes/payments/[id]/+page.svelte b/src/routes/payments/[id]/+page.svelte index b51603c4..2c419b74 100644 --- a/src/routes/payments/[id]/+page.svelte +++ b/src/routes/payments/[id]/+page.svelte @@ -387,11 +387,11 @@ }} >
-
+
{@html getInputIcon(type)}
- {$translate(`app.labels.input_${type}`).toLowerCase()}: + {$translate(`app.labels.input_${type}`)}:
{#if type === 'timelocked' || type === 'channel_close'} @@ -402,9 +402,7 @@ .first() then peerWallet} {peerWallet?.label || channel.peerAlias || - truncateValue( - channel.peerId || $translate('app.labels.input_unknown') - )} + truncateValue(channel.peerId || '')} {/await} {/if} {:else if type === 'withdrawal'} @@ -455,12 +453,12 @@ }} >
-
+
{@html getOutputIcon(type)}
- {$translate(`app.labels.output_${type}`).toLowerCase()}: + {$translate(`app.labels.output_${type}`)}:
{#if type === 'receive' || type === 'change' || type === 'transfer' || type === 'sweep'} @@ -482,10 +480,7 @@ {#if wallet} {wallet.label} {:else} - {channel.peerAlias || - truncateValue( - channel.peerId || $translate('app.labels.output_unknown') - )} + {channel.peerAlias || truncateValue(channel.peerId || '')} {/if} {/await} {/if} @@ -500,11 +495,7 @@ {#if peerWallet} {peerWallet.label} {:else} - {channel.peerAlias || - truncateValue( - channel.peerId || $translate('app.labels.output_unknown'), - 6 - )} + {channel.peerAlias || truncateValue(channel.peerId || '', 6)} {/if} {/await} {/if}