From 744609e7e94d25f37d3989dd15f44b0c6b340403 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 24 Jan 2024 12:10:03 +0100 Subject: [PATCH] fix sentry errors --- app/Livewire/Project/New/Select.php | 4 ++++ 1 file changed, 4 insertions(+) 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'],