Merge pull request #472 from hackrush01/claims_fix

Fix for broken published links in published tab
This commit is contained in:
Jeremy Kauffman 2017-08-14 14:55:44 -04:00 committed by GitHub
commit 1f9cbeb0ff

View file

@ -50,7 +50,7 @@ reducers[types.FETCH_CLAIM_LIST_MINE_COMPLETED] = function(state, action) {
.filter(claimId => Object.keys(abandoningById).indexOf(claimId) === -1)
);
claims.forEach(claim => {
claims.filter(claim => claim.category.match(/claim/)).forEach(claim => {
byId[claim.claim_id] = claim;
const pending = Object.values(pendingById).find(pendingClaim => {