From 9a261b06b10af76971423ce022abc35f7417110b Mon Sep 17 00:00:00 2001 From: Dima Axelrod Date: Mon, 24 Jun 2024 16:01:37 +0300 Subject: [PATCH] cant reactivate if operator is private --- .../SSV/MyAccount/components/Balance/Balance.tsx | 4 +++- .../components/Validator/SingleCluster/SingleCluster.tsx | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/app/components/applications/SSV/MyAccount/components/Balance/Balance.tsx b/src/app/components/applications/SSV/MyAccount/components/Balance/Balance.tsx index 10329047a..8609e9beb 100644 --- a/src/app/components/applications/SSV/MyAccount/components/Balance/Balance.tsx +++ b/src/app/components/applications/SSV/MyAccount/components/Balance/Balance.tsx @@ -18,11 +18,13 @@ const OperationRunwayWrapper = styled.div` const Balance = ({ cluster, moveToReactivateCluster, + hasPrivateOperators, moveToDeposit, moveToWithdraw }: { cluster: ICluster; moveToReactivateCluster: Function; + hasPrivateOperators: boolean; moveToDeposit: Function; moveToWithdraw: Function; }) => { @@ -65,7 +67,7 @@ const Balance = ({ {cluster.isLiquidated ? ( - + ) : ( diff --git a/src/app/components/applications/SSV/MyAccount/components/Validator/SingleCluster/SingleCluster.tsx b/src/app/components/applications/SSV/MyAccount/components/Validator/SingleCluster/SingleCluster.tsx index f5feb1279..c954ab887 100644 --- a/src/app/components/applications/SSV/MyAccount/components/Validator/SingleCluster/SingleCluster.tsx +++ b/src/app/components/applications/SSV/MyAccount/components/Validator/SingleCluster/SingleCluster.tsx @@ -115,7 +115,13 @@ const SingleCluster = () => {
- +