Fix: Receive payment did not show display reason
This commit is contained in:
@ -63,7 +63,7 @@ export class ReceivePaymentComponent {
|
|||||||
.pipe(
|
.pipe(
|
||||||
tap(
|
tap(
|
||||||
(x: SettleOption[]) =>
|
(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)),
|
tap((x: SettleOption[]) => (this.displayTable = x.length > 1)),
|
||||||
map((x: SettleOption[]) =>
|
map((x: SettleOption[]) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user