Fix: Receive payment did not show display reason
This commit is contained in:
parent
f408e84af3
commit
c5eaeb1497
@ -63,7 +63,7 @@ export class ReceivePaymentComponent {
|
||||
.pipe(
|
||||
tap(
|
||||
(x: SettleOption[]) =>
|
||||
(this.displayReason = x.reduce((o, n) => o ?? n.hasReason, this.displayReason)),
|
||||
(this.displayReason = x.reduce((o, n) => o || n.hasReason, this.displayReason)),
|
||||
),
|
||||
tap((x: SettleOption[]) => (this.displayTable = x.length > 1)),
|
||||
map((x: SettleOption[]) =>
|
||||
|
Loading…
Reference in New Issue
Block a user