diff --git a/app/Livewire/Project/New/Select.php b/app/Livewire/Project/New/Select.php index 1c49ac7ad..d35cd3687 100644 --- a/app/Livewire/Project/New/Select.php +++ b/app/Livewire/Project/New/Select.php @@ -156,6 +156,10 @@ class Select extends Component 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'],