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
No known key found for this signature in database

View file

@ -75,10 +75,10 @@ public function submit()
$this->dispatch('refreshScheduledBackups');
}
$this->frequency = '';
} catch (\Throwable $e) {
return handleError($e, $this);
} finally {
$this->frequency = '';
}
}
}