mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-24 04:38:46 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user