Regression Fixes

This commit is contained in:
hackrush 2017-11-06 20:20:43 +05:30
parent e956017bc1
commit 5da244e3e2

View file

@ -135,6 +135,7 @@ export const selectMyActiveClaims = createSelector(
selectAbandoningIds, selectAbandoningIds,
(claims, abandoningIds) => (claims, abandoningIds) =>
new Set( new Set(
claims &&
claims claims
.map(claim => claim.claim_id) .map(claim => claim.claim_id)
.filter(claimId => Object.keys(abandoningIds).indexOf(claimId) === -1) .filter(claimId => Object.keys(abandoningIds).indexOf(claimId) === -1)