diegomedina248 commented on code in PR #19673:
URL: https://github.com/apache/superset/pull/19673#discussion_r849626330
##########
superset-frontend/src/components/ImportModal/index.tsx:
##########
@@ -142,7 +154,7 @@ const ImportModelsModal:
FunctionComponent<ImportModelsModalProps> = ({
const handleErrorMsg = (msg: string) => {
clearModal();
- addDangerToast(msg);
+ setErrMsg(msg);
Review Comment:
yeah, as far as I can see, the modal now is not closed, so if we can make a
new upload with the same modal, we should clear previous error there
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]