From 048e1530255c2c0b3194657441e81e35b55341cb Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 25 Jan 2024 08:57:16 +0100 Subject: [PATCH] Remove unnecessary condition in setDestination method --- app/Livewire/Project/New/Select.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Livewire/Project/New/Select.php b/app/Livewire/Project/New/Select.php index d35cd3687..1c49ac7ad 100644 --- a/app/Livewire/Project/New/Select.php +++ b/app/Livewire/Project/New/Select.php @@ -156,10 +156,6 @@ 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'],