fix clear frequency on exit and error

This commit is contained in:
peaklabs-dev
2024-11-14 18:27:06 +01:00
parent 67bd06d4f2
commit 4cc4e28f29

View File

@@ -75,10 +75,10 @@ class CreateScheduledBackup extends Component
$this->dispatch('refreshScheduledBackups');
}
$this->frequency = '';
} catch (\Throwable $e) {
return handleError($e, $this);
} finally {
$this->frequency = '';
}
}
}