Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix the disabled Done button in the question alert modal (#80438)

Egor Grushin24fa76cfa878
diff --git a/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx b/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx
index 73f7083f4d4..1a530cb32e9 100644
--- a/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx
+++ b/frontend/src/metabase/notifications/modals/CreateOrEditQuestionAlertModal/CreateOrEditQuestionAlertModal.tsx
@@ -450,7 +450,7 @@ export const CreateOrEditQuestionAlertModal = ({
<Button onClick={onClose}>{t`Cancel`}</Button>
<Button
variant="filled"
- bg={hasError ? "feedback-negative" : "core-brand"}
+ color={hasError ? "feedback-negative" : "core-brand"}
disabled={!isValid || isCreating || isUpdating}
loading={isCreating || isUpdating}
onClick={onCreateOrEditAlert}