redirect false on some urls

This commit is contained in:
Andras Bacsai 2023-12-21 09:33:11 +01:00
parent 794cfbd8eb
commit 5fb5845e90
6 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ class DockerImage extends Component
'application_uuid' => $application->uuid,
'environment_name' => $environment->name,
'project_uuid' => $project->uuid,
], navigate: true);
], navigate: false);
}
public function render()
{

View File

@ -13,6 +13,6 @@ class EmptyProject extends Component
'name' => generate_random_name(),
'team_id' => currentTeam()->id,
]);
return $this->redirectRoute('project.show', ['project_uuid' => $project->uuid, 'environment_name' => 'production'], navigate: true);
return $this->redirectRoute('project.show', ['project_uuid' => $project->uuid, 'environment_name' => 'production'], navigate: false);
}
}

View File

@ -155,7 +155,7 @@ class GithubPrivateRepository extends Component
'application_uuid' => $application->uuid,
'environment_name' => $environment->name,
'project_uuid' => $project->uuid,
], navigate: true);
], navigate: false);
} catch (\Throwable $e) {
return handleError($e, $this);
}

View File

@ -136,7 +136,7 @@ class GithubPrivateRepositoryDeployKey extends Component
'application_uuid' => $application->uuid,
'environment_name' => $environment->name,
'project_uuid' => $project->uuid,
], navigate: true);
], navigate: false);
} catch (\Throwable $e) {
return handleError($e, $this);
}

View File

@ -188,7 +188,7 @@ class PublicGitRepository extends Component
'application_uuid' => $application->uuid,
'environment_name' => $environment->name,
'project_uuid' => $project->uuid,
], navigate: true);
], navigate: false);
} catch (\Throwable $e) {
return handleError($e, $this);
}

View File

@ -74,6 +74,6 @@ CMD ["nginx", "-g", "daemon off;"]
'application_uuid' => $application->uuid,
'environment_name' => $environment->name,
'project_uuid' => $project->uuid,
], navigate: true);
], navigate: false);
}
}