eschutho commented on code in PR #19314:
URL: https://github.com/apache/superset/pull/19314#discussion_r846304598
##########
superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx:
##########
@@ -772,10 +828,20 @@ const DatabaseModal:
FunctionComponent<DatabaseModalProps> = ({
};
const handleBackButtonOnConnect = () => {
- if (editNewDb) {
- setHasConnectedDb(false);
- }
+ if (editNewDb) setHasConnectedDb(false);
+ if (importingModal) setImportingModal(false);
Review Comment:
another nit that we can prob address in a later cleanup. The name
`importingModal` sounds like a current state where the modal is importing.
--
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]