From bf3ed1f28ef22423375bed4dbafdb1cf3fd1a223 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Mon, 19 Mar 2018 18:48:22 -0400 Subject: [PATCH] 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). --- src/renderer/redux/reducers/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/redux/reducers/claims.js b/src/renderer/redux/reducers/claims.js index 5078bfccc..a96cec487 100644 --- a/src/renderer/redux/reducers/claims.js +++ b/src/renderer/redux/reducers/claims.js @@ -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(