From 46c6a0700f0ca4d65254648dec946e2b600212ca Mon Sep 17 00:00:00 2001 From: Ali <83188384+testA113@users.noreply.github.com> Date: Tue, 7 May 2024 15:27:22 +1200 Subject: [PATCH] fix(app): show one tooltip to describe rollback feature [EE-6825] (#11777) Co-authored-by: testa113 --- .../RollbackApplicationButton.tsx | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx b/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx index 79a7b1999..078935390 100644 --- a/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx +++ b/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx @@ -70,33 +70,33 @@ export function RollbackApplicationButton({ patchAppMutation.isLoading; const rollbackButton = ( -
- - -
+ ); return ( - {isRollbackNotAvailable ? ( - - {rollbackButton} - - ) : ( - rollbackButton - )} +
+ {isRollbackNotAvailable ? ( + + {rollbackButton} + + ) : ( + rollbackButton + )} + +
);