Fix: Receive payment did not show display reason
This commit is contained in:
1 parent
f408e84af3
commit
c5eaeb1497
1 file changed
+1
-1
@@ -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