From 995c303f2714867a664e2f75917d72f2c0ffc587 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Mon, 25 Mar 2024 14:34:11 +0100 Subject: [PATCH] Refactor Livewire/Boarding/Index.php and resources/views/livewire/boarding/index.blade.php --- app/Livewire/Boarding/Index.php | 5 ----- resources/views/livewire/boarding/index.blade.php | 11 +++++++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/app/Livewire/Boarding/Index.php b/app/Livewire/Boarding/Index.php index 110222fb4..14524a46f 100644 --- a/app/Livewire/Boarding/Index.php +++ b/app/Livewire/Boarding/Index.php @@ -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; diff --git a/resources/views/livewire/boarding/index.blade.php b/resources/views/livewire/boarding/index.blade.php index c254a003b..d1b9f3160 100644 --- a/resources/views/livewire/boarding/index.blade.php +++ b/resources/views/livewire/boarding/index.blade.php @@ -329,14 +329,17 @@
- Skip onboarding - Restart onboarding +
Skip + onboarding
+
Restart + onboarding
- +
Feedback - +