mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 23:04:25 +01:00
hide preimage when not paid
This commit is contained in:
@@ -238,13 +238,15 @@ function LightningDetails(props: { info: MutinyInvoice; tags?: TagItem }) {
|
|||||||
>
|
>
|
||||||
<MiniStringShower text={props.info.payment_hash ?? ""} />
|
<MiniStringShower text={props.info.payment_hash ?? ""} />
|
||||||
</KeyValue>
|
</KeyValue>
|
||||||
<KeyValue
|
<Show when={props.info.paid}>
|
||||||
key={i18n.t(
|
<KeyValue
|
||||||
"activity.transaction_details.payment_preimage"
|
key={i18n.t(
|
||||||
)}
|
"activity.transaction_details.payment_preimage"
|
||||||
>
|
)}
|
||||||
<MiniStringShower text={props.info.preimage ?? ""} />
|
>
|
||||||
</KeyValue>
|
<MiniStringShower text={props.info.preimage ?? ""} />
|
||||||
|
</KeyValue>
|
||||||
|
</Show>
|
||||||
</ul>
|
</ul>
|
||||||
</VStack>
|
</VStack>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user