Include updated channels in results
Channels may be updated with new bids and will appear as "update" in channel_list. This would also occur if claims were sent from one user to another (i.e. us transferring a channel to a youtuber).
This commit is contained in:
parent
f50a0b7644
commit
bf3ed1f28e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ reducers[ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED] = (state, action) => {
|
|||
const byId = Object.assign({}, state.byId);
|
||||
const pendingById = Object.assign({}, state.pendingById);
|
||||
|
||||
claims.filter(claim => claim.category && claim.category.match(/claim/)).forEach(claim => {
|
||||
claims.filter(claim => claim.category && (claim.category.match(/claim/) || claim.category.match(/update/))).forEach(claim => {
|
||||
byId[claim.claim_id] = claim;
|
||||
|
||||
const pending = Object.values(pendingById).find(
|
||||
|
|
Loading…
Reference in a new issue