Merge pull request #3912 from Infisical/fix/multiEnvDeleteErrorMessage

Improve multi-env error message to show full env name instead of slug
This commit is contained in:
Maidul Islam
2025-07-02 17:43:32 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ export const createNotification = (
toast(<NotificationContent {...myProps} />, {
position: "bottom-right",
...toastProps,
autoClose: toastProps.autoClose || 15000,
theme: "dark",
type: myProps?.type || "info"
});

View File

@@ -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({