mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 03:32:26 +08:00
feat(time_selector): use showError since this is an error
This commit is contained in:
parent
10ba467202
commit
ccbed7bbc3
@ -114,7 +114,7 @@ export default class TimeSelector extends OptionsWidget {
|
||||
|
||||
handleTimeValidation() {
|
||||
if (this.$timeValueInput.is(":invalid")) {
|
||||
toastService.showMessage(t("time_selector.invalid_input"));
|
||||
toastService.showError(t("time_selector.invalid_input"));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user