aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 18:55:59 -0700
committerAdam Soltys <[email protected]>2026-08-02 18:55:59 -0700
commitad8c8a076cca261ed3de4b8cdc90484ab618da49 (patch)
tree232c4e80f3115e71a01342ec2437cc62602a989f
parent375bec5f2ee22b1f69bb9f4a963efb12a68aef05 (diff)
downloadcoinosv3-ad8c8a076cca261ed3de4b8cdc90484ab618da49.tar.gz
coinosv3-ad8c8a076cca261ed3de4b8cdc90484ab618da49.zip
History detail: show the zap recipient chip there too
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
-rw-r--r--src/features/ark.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index c81faa5..1b4f155 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -791,6 +791,15 @@ export function arkFeature(ctx) {
h('div', { class: incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px' },
(incoming ? '+' : '-') + fmtAmount(m.amountSat) + ' ' + unitLabel()),
row(t('dateLabel'), new Date(m.ts).toLocaleString()),
+ (() => {
+ const pk = zapNoteFor(m);
+ const chip = pk ? ctx.hook('profileChip', pk) : null;
+ return chip
+ ? h('div', { class: 'row between', style: 'gap:12px;align-items:center' },
+ h('span', { class: 'small muted' }, t('recipient')),
+ chip)
+ : null;
+ })(),
m.to ? row(t('arkPayTo'), shortAddr(m.to, 16, 12)) : null,
m.vtxoId ? row(t('arkVtxoId'), shortTxid(m.vtxoId)) : null,
m.detail ? row(t('detailsLabel'), m.detail) : null,