From c1ed35570692e7ae7f0e6afec2137d8947196e5f Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 4 Feb 2021 19:24:16 +0100 Subject: [PATCH] Adjust staking max filter (#4600) --- packages/page-staking/src/Targets/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/page-staking/src/Targets/index.tsx b/packages/page-staking/src/Targets/index.tsx index 3c72f3bc2a..328d06cd07 100644 --- a/packages/page-staking/src/Targets/index.tsx +++ b/packages/page-staking/src/Targets/index.tsx @@ -85,7 +85,7 @@ function applyFilter (validators: ValidatorInfo[], medianComm: number, allIdenti const stashId = accountId.toString(); const thisIdentity = allIdentity[stashId]; - const nomCount = nominatedBy?.[stashId]?.length || numNominators || 0; + const nomCount = numNominators || nominatedBy?.[stashId]?.length || 0; if ( (!withElected || isElected) &&