From f7de82daab31f137b41c7722ce06193fff3d3a56 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 23 May 2018 01:15:56 -0400 Subject: [PATCH] include channel updates in claim data Was fixed before in lbry-app, but lost during redux migration Allows for selection of updated channels in the publish screen channel dropdown --- src/redux/reducers/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redux/reducers/claims.js b/src/redux/reducers/claims.js index de5e56a..38c98e0 100644 --- a/src/redux/reducers/claims.js +++ b/src/redux/reducers/claims.js @@ -55,7 +55,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(