Merge pull request #4013 from lbryio/fix-resetStatusTxoList
reset status on hidden types
This commit is contained in:
commit
a0ae4b824a
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,7 @@ function TxoList(props: Props) {
|
|||
newUrlParams.set(TXO.SUB_TYPE, 'all');
|
||||
}
|
||||
}
|
||||
if (currentUrlParams.active) {
|
||||
if (currentUrlParams.active && !hideStatus) {
|
||||
newUrlParams.set(TXO.ACTIVE, currentUrlParams.active);
|
||||
} else {
|
||||
newUrlParams.set(TXO.ACTIVE, 'all');
|
||||
|
@ -158,6 +158,7 @@ function TxoList(props: Props) {
|
|||
newUrlParams.set(TXO.PAGE_SIZE, currentUrlParams.pageSize);
|
||||
break;
|
||||
}
|
||||
|
||||
return `?${newUrlParams.toString()}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue