diff --git a/packages/page-staking/src/Actions/Account/index.tsx b/packages/page-staking/src/Actions/Account/index.tsx index 7c062971d0..d6ea706026 100644 --- a/packages/page-staking/src/Actions/Account/index.tsx +++ b/packages/page-staking/src/Actions/Account/index.tsx @@ -75,12 +75,11 @@ function Account ({ allSlashes, className = '', info: { controllerId, destinatio const slashes = all .filter(({ others, validator }) => validator.eq(stashId) || others.some(([nominatorId]) => nominatorId.eq(stashId))) .map(({ others, own, payout, reporters, validator }) => ({ - isValidator: validator.eq(stashId), others, own, payout, reporters, validator + others, own, payout, reporters, validator })); return { era, - isValidator: slashes.some(({ isValidator }) => isValidator), slashes }; }) @@ -105,7 +104,7 @@ function Account ({ allSlashes, className = '', info: { controllerId, destinatio return (