Remove unnecessary condition in setDestination method
This commit is contained in:
parent
e7cafe6850
commit
048e153025
@ -156,10 +156,6 @@ class Select extends Component
|
|||||||
|
|
||||||
public function setDestination(string $destination_uuid)
|
public function setDestination(string $destination_uuid)
|
||||||
{
|
{
|
||||||
if (!$this->server_id) {
|
|
||||||
$this->current_step = 'servers';
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$this->destination_uuid = $destination_uuid;
|
$this->destination_uuid = $destination_uuid;
|
||||||
return redirect()->route('project.resource.create', [
|
return redirect()->route('project.resource.create', [
|
||||||
'project_uuid' => $this->parameters['project_uuid'],
|
'project_uuid' => $this->parameters['project_uuid'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user