Skip to content

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

Improve multi-env error message to show full env name instead of slug

Carlos Monastyrskicf6181eb7301
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx
index 1adc59b388..641ec21bce 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/SelectionPanel.tsx
@@ -183,7 +183,7 @@ export const SelectionPanel = ({
(result) => result.status === "fulfilled" && result.value.environment === env.slug
)
)
- .map((env) => env.slug);
+ .map((env) => env.name);
if (processedEntries === 0) {
handlePopUpClose("bulkDeleteEntries");
createNotification({