Remove unnecessary condition in setDestination method

This commit is contained in:
Andras Bacsai 2024-01-25 08:57:16 +01:00
parent e7cafe6850
commit 048e153025

View File

@ -156,10 +156,6 @@ public function setServer(Server $server)
public function setDestination(string $destination_uuid)
{
if (!$this->server_id) {
$this->current_step = 'servers';
return;
}
$this->destination_uuid = $destination_uuid;
return redirect()->route('project.resource.create', [
'project_uuid' => $this->parameters['project_uuid'],