From c7daa32e217ef966c49802fa1c27f4dca8db0156 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 8 Nov 2024 11:48:15 +0100 Subject: [PATCH 1/2] ui fix --- app/Livewire/Project/Database/BackupEdit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Project/Database/BackupEdit.php b/app/Livewire/Project/Database/BackupEdit.php index bcf2f959e..b3a54f0ab 100644 --- a/app/Livewire/Project/Database/BackupEdit.php +++ b/app/Livewire/Project/Database/BackupEdit.php @@ -46,8 +46,8 @@ class BackupEdit extends Component #[Validate(['required', 'boolean'])] public bool $saveS3 = false; - #[Validate(['required', 'integer'])] - public int $s3StorageId = 1; + #[Validate(['nullable', 'integer'])] + public ?int $s3StorageId = 1; #[Validate(['nullable', 'string'])] public ?string $databasesToBackup = null; From 9f439e26722a44332aea0b1f771a2617d4467d2c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 8 Nov 2024 11:51:06 +0100 Subject: [PATCH 2/2] fix: disable wire:navigate --- resources/views/components/navbar.blade.php | 2 +- .../views/components/notification/navbar.blade.php | 6 +++--- .../views/components/server/sidebar.blade.php | 14 +++++++------- .../views/livewire/destination/index.blade.php | 6 ++---- resources/views/livewire/tags/show.blade.php | 2 +- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php index 8a2f4d5d6..f635a6787 100644 --- a/resources/views/components/navbar.blade.php +++ b/resources/views/components/navbar.blade.php @@ -148,7 +148,7 @@
  • + href="{{ route('destination.index') }}"> Get notified about your infrastructure.