Merge pull request #29 from lbryio/update-fix

include channel updates in claim data
This commit is contained in:
Sean Yesmunt 2018-05-25 10:34:22 -04:00 committed by GitHub
commit 46d2af3620
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(