[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-09-09 16:40:00 +00:00
committed by GitHub
parent abcbd2d599
commit ec11325165
@@ -84,8 +84,12 @@ export const DuplicateProject = ({
// If duplicating to same project+environment, invalidate the environment query // If duplicating to same project+environment, invalidate the environment query
// to refresh the services list // to refresh the services list
if (duplicateType === "existing-environment") { if (duplicateType === "existing-environment") {
await utils.environment.one.invalidate({ environmentId: selectedTargetEnvironment }); await utils.environment.one.invalidate({
await utils.environment.byProjectId.invalidate({ projectId: selectedTargetProject }); environmentId: selectedTargetEnvironment,
});
await utils.environment.byProjectId.invalidate({
projectId: selectedTargetProject,
});
// If duplicating to the same environment we're currently viewing, // If duplicating to the same environment we're currently viewing,
// also invalidate the current environment to refresh the services list // also invalidate the current environment to refresh the services list