From 61ebec25b35601ceb70d738e23221f2479f5cd1e Mon Sep 17 00:00:00 2001 From: lemmyMwaura Date: Sat, 27 Jul 2024 23:24:10 +0300 Subject: [PATCH] refactor: update envs to environments --- .../components/SelectionPanel/SelectionPanel.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/SecretOverviewPage/components/SelectionPanel/SelectionPanel.tsx b/frontend/src/views/SecretOverviewPage/components/SelectionPanel/SelectionPanel.tsx index 52cc8bb0a..162c193a1 100644 --- a/frontend/src/views/SecretOverviewPage/components/SelectionPanel/SelectionPanel.tsx +++ b/frontend/src/views/SecretOverviewPage/components/SelectionPanel/SelectionPanel.tsx @@ -71,11 +71,11 @@ export const SelectionPanel = ({ const getDeleteModalTitle = () => { if (selectedFolderCount > 0 && selectedKeysCount > 0) { - return "Do you want to delete the selected secrets and folders across envs?"; - } else if (selectedFolderCount > 0 && selectedKeysCount === 0) { - return "Do you want to delete the selected folders across envs?"; + return "Do you want to delete the selected secrets and folders across environments?"; + } else if (selectedKeysCount > 0 && selectedFolderCount === 0) { + return "Do you want to delete the selected secrets across environments?"; } else { - return "Do you want to delete the selected secrets across envs?"; + return "Do you want to delete the selected folders across environments?"; } }