From 4bb4ccbe0768de2a7fe1691709ddae69eab91151 Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Wed, 2 Feb 2022 15:43:55 -0800 Subject: [PATCH] fix comments --- superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx index 7d58b97269022..416f47a4ab9f6 100644 --- a/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx +++ b/superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx @@ -520,8 +520,7 @@ const AlertReportModal: FunctionComponent = ({ const data: any = { ...currentAlert, type: isReport ? 'Report' : 'Alert', - force_screenshot: - shouldEnableForceScreenshot || forceScreenshot ? 'true' : 'false', + force_screenshot: shouldEnableForceScreenshot || forceScreenshot, validator_type: conditionNotNull ? 'not null' : 'operator', validator_config_json: conditionNotNull ? {}