Completely broken update to latest versions
This commit is contained in:
@@ -221,7 +221,7 @@ export function InvitationScreen(): React.ReactElement {
|
||||
|
||||
let isCurrent = true;
|
||||
|
||||
appService.engine.getOwnCommits(selectedInvitation.data)
|
||||
appService.engine.findOwnCommits(selectedInvitation.data.invitationIdentifier)
|
||||
.then((ownCommits) => {
|
||||
if (!isCurrent) return;
|
||||
|
||||
@@ -723,10 +723,14 @@ export function InvitationScreen(): React.ReactElement {
|
||||
{outputTemplate?.name ?? output.outputIdentifier ?? `Output ${idx}`}
|
||||
|
||||
{/* Output description */}
|
||||
{outputTemplate?.description && ' - ' + compileCashAssemblyString(outputTemplate?.description ?? '', variables.reduce((acc, variable) => {
|
||||
acc[variable.variableIdentifier] = variable.value as XOInvitationVariableValue;
|
||||
return acc;
|
||||
}, {} as Record<string, XOInvitationVariableValue>))}
|
||||
{outputTemplate?.description && ' - ' + compileCashAssemblyString({
|
||||
cashAssemblyText: outputTemplate?.description,
|
||||
variables: variables.reduce((acc, variable) => {
|
||||
acc[variable.variableIdentifier] = variable.value as XOInvitationVariableValue;
|
||||
|
||||
return acc;
|
||||
}, {} as Record<string, XOInvitationVariableValue>)
|
||||
})}
|
||||
|
||||
{/* Output value */}
|
||||
{outputSatoshis !== null && ` (${formatSatoshis(outputSatoshis)}${getFiatSuffix(outputSatoshis)})`}
|
||||
|
||||
Reference in New Issue
Block a user