Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

refactor: update envs to environments

lemmyMwaura61ebec25b356
diff --git a/frontend/src/views/SecretOverviewPage/components/SelectionPanel/SelectionPanel.tsx b/frontend/src/views/SecretOverviewPage/components/SelectionPanel/SelectionPanel.tsx
index 52cc8bb0a3..162c193a14 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?";
}
}