From ccbed7bbc375997ba8ea6926c3978d4ba7722b4c Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 16 Feb 2025 18:17:55 +0100 Subject: [PATCH] feat(time_selector): use showError since this is an error --- src/public/app/widgets/type_widgets/options/time_selector.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/type_widgets/options/time_selector.ts b/src/public/app/widgets/type_widgets/options/time_selector.ts index dc95b0a77..7e12f5fbd 100644 --- a/src/public/app/widgets/type_widgets/options/time_selector.ts +++ b/src/public/app/widgets/type_widgets/options/time_selector.ts @@ -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;