diff --git a/app/Livewire/Project/Database/CreateScheduledBackup.php b/app/Livewire/Project/Database/CreateScheduledBackup.php index 272026797..01108c290 100644 --- a/app/Livewire/Project/Database/CreateScheduledBackup.php +++ b/app/Livewire/Project/Database/CreateScheduledBackup.php @@ -75,10 +75,10 @@ class CreateScheduledBackup extends Component $this->dispatch('refreshScheduledBackups'); } - $this->frequency = ''; - } catch (\Throwable $e) { return handleError($e, $this); + } finally { + $this->frequency = ''; } } }