From a6c53e65058ef3001ea60985a3435ff27f62303b Mon Sep 17 00:00:00 2001 From: hackrush Date: Tue, 15 Aug 2017 00:12:44 +0530 Subject: [PATCH] Fix for broken published links in published tab --- ui/js/reducers/claims.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/reducers/claims.js b/ui/js/reducers/claims.js index c70fd45e0..a8d86e929 100644 --- a/ui/js/reducers/claims.js +++ b/ui/js/reducers/claims.js @@ -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 => {