Refactor Livewire/Boarding/Index.php and resources/views/livewire/boarding/index.blade.php

This commit is contained in:
Andras Bacsai
2024-03-25 14:34:11 +01:00
parent 9c03525369
commit 995c303f27
2 changed files with 7 additions and 9 deletions

View File

@@ -15,14 +15,11 @@ class Index extends Component
{
protected $listeners = ['serverInstalled' => 'validateServer'];
#[Url()]
public string $state = 'welcome';
#[Url()]
public ?string $selectedServerType = null;
public ?Collection $privateKeys = null;
#[Url()]
public ?int $selectedExistingPrivateKey = null;
public ?string $privateKeyType = null;
public ?string $privateKey = null;
@@ -33,7 +30,6 @@ class Index extends Component
public ?Collection $servers = null;
#[Url()]
public ?int $selectedExistingServer = null;
public ?string $remoteServerName = null;
public ?string $remoteServerDescription = null;
@@ -46,7 +42,6 @@ class Index extends Component
public Collection $projects;
#[Url()]
public ?int $selectedProject = null;
public ?Project $createdProject = null;