delete claim from byId while it's in pending status
This commit is contained in:
parent
33bf92299d
commit
0e13dd1972
2 changed files with 2 additions and 0 deletions
1
dist/bundle.js
vendored
1
dist/bundle.js
vendored
|
@ -5253,6 +5253,7 @@ reducers[ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED] = function (state, action) {
|
|||
if (claim.type && claim.type.match(/claim|update/)) {
|
||||
if (claim.confirmations < 1) {
|
||||
pendingById[claim.claim_id] = claim;
|
||||
delete byId[claim.claim_id];
|
||||
} else {
|
||||
byId[claim.claim_id] = claim;
|
||||
}
|
||||
|
|
|
@ -58,6 +58,7 @@ reducers[ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED] = (state, action) => {
|
|||
if (claim.type && claim.type.match(/claim|update/)) {
|
||||
if (claim.confirmations < 1) {
|
||||
pendingById[claim.claim_id] = claim;
|
||||
delete byId[claim.claim_id];
|
||||
} else {
|
||||
byId[claim.claim_id] = claim;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue