Skip to content

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

makes copy better on the dialog

adilson10bccb4ec793
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/components/MoveSecretsDialog/MoveSecretsDialog.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/components/MoveSecretsDialog/MoveSecretsDialog.tsx
index 4f7df576d2..9077bb166e 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/components/MoveSecretsDialog/MoveSecretsDialog.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SelectionPanel/components/MoveSecretsDialog/MoveSecretsDialog.tsx
@@ -304,9 +304,9 @@ const formatBlockedDestination = (
const envName =
envNameBySlug.get(blocked.destinationEnvironment) ?? blocked.destinationEnvironment;
if (blocked.policyName && blocked.blockingPath) {
- return `${envName}: the path "${blocked.blockingPath}" is governed by the secret approval policy "${blocked.policyName}", so "${blocked.folderName}" cannot be moved there.`;
+ return `At environment ${envName} the path "${blocked.blockingPath}" is governed by the secret approval policy "${blocked.policyName}", so "${blocked.folderName}" cannot be moved there.`;
}
- return `${envName}: the destination is governed by a secret approval policy, so "${blocked.folderName}" cannot be moved there.`;
+ return `At environment ${envName} the destination is governed by a secret approval policy, so "${blocked.folderName}" cannot be moved there.`;
};
// surfaces the two destination-side reasons a move is blocked: a cyclic/self move (client-side) and a destination