fix clear frequency on exit and error
This commit is contained in:
parent
67bd06d4f2
commit
4cc4e28f29
1 changed files with 2 additions and 2 deletions
|
|
@ -75,10 +75,10 @@ public function submit()
|
||||||
$this->dispatch('refreshScheduledBackups');
|
$this->dispatch('refreshScheduledBackups');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->frequency = '';
|
|
||||||
|
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
return handleError($e, $this);
|
return handleError($e, $this);
|
||||||
|
} finally {
|
||||||
|
$this->frequency = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue