fix params for payments (no spent) (#4009)
This commit is contained in:
parent
b8e0c80281
commit
214392c88a
1 changed files with 3 additions and 3 deletions
|
@ -130,6 +130,8 @@ function TxoList(props: Props) {
|
|||
}
|
||||
if (currentUrlParams.active) {
|
||||
newUrlParams.set(TXO.ACTIVE, currentUrlParams.active);
|
||||
} else {
|
||||
newUrlParams.set(TXO.ACTIVE, 'all');
|
||||
}
|
||||
newUrlParams.set(TXO.PAGE, String(1));
|
||||
newUrlParams.set(TXO.PAGE_SIZE, currentUrlParams.pageSize);
|
||||
|
@ -138,9 +140,7 @@ function TxoList(props: Props) {
|
|||
if (currentUrlParams.type) {
|
||||
newUrlParams.set(TXO.TYPE, currentUrlParams.type);
|
||||
}
|
||||
if (currentUrlParams.active) {
|
||||
newUrlParams.set(TXO.ACTIVE, currentUrlParams.active);
|
||||
}
|
||||
newUrlParams.set(TXO.ACTIVE, 'all');
|
||||
newUrlParams.set(TXO.SUB_TYPE, delta.value);
|
||||
newUrlParams.set(TXO.PAGE, String(1));
|
||||
newUrlParams.set(TXO.PAGE_SIZE, currentUrlParams.pageSize);
|
||||
|
|
Loading…
Reference in a new issue