From 5da244e3e2a4b4d462c30c9289865182fa8b9aec Mon Sep 17 00:00:00 2001 From: hackrush Date: Mon, 6 Nov 2017 20:20:43 +0530 Subject: [PATCH] Regression Fixes --- ui/js/selectors/claims.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/js/selectors/claims.js b/ui/js/selectors/claims.js index f3e6071a5..c29522dcf 100644 --- a/ui/js/selectors/claims.js +++ b/ui/js/selectors/claims.js @@ -135,9 +135,10 @@ export const selectMyActiveClaims = createSelector( selectAbandoningIds, (claims, abandoningIds) => new Set( - claims - .map(claim => claim.claim_id) - .filter(claimId => Object.keys(abandoningIds).indexOf(claimId) === -1) + claims && + claims + .map(claim => claim.claim_id) + .filter(claimId => Object.keys(abandoningIds).indexOf(claimId) === -1) ) );