You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/04 20:49:46 UTC

[GitHub] [superset] pkdotson commented on a diff in pull request #19482: feat: add success toast to alerts and reports

pkdotson commented on code in PR #19482:
URL: https://github.com/apache/superset/pull/19482#discussion_r842128767


##########
superset-frontend/src/views/CRUD/alert/AlertReportModal.tsx:
##########
@@ -555,6 +557,9 @@ const AlertReportModal: FunctionComponent<AlertReportModalProps> = ({
             return;
           }
 
+          if (data.type === 'Alert') addSuccessToast(t('Alert updated'));
+          else addSuccessToast('Report updated');

Review Comment:
   Gotcha! will do!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org