mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
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:
@@ -65,6 +65,7 @@ export const createNotification = (
|
||||
toast(<NotificationContent {...myProps} />, {
|
||||
position: "bottom-right",
|
||||
...toastProps,
|
||||
autoClose: toastProps.autoClose || 15000,
|
||||
theme: "dark",
|
||||
type: myProps?.type || "info"
|
||||
});
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user