eschutho commented on a change in pull request #16175:
URL: https://github.com/apache/superset/pull/16175#discussion_r686381265



##########
File path: 
superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
##########
@@ -489,9 +489,9 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> 
= ({
     addDangerToast,
   );
   const isDynamic = (engine: string | undefined) =>
-    availableDbs?.databases.filter(
+    availableDbs?.databases?.find(

Review comment:
       null or undefined won't have a method called find, so I think this will 
still fail?




-- 
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]

Reply via email to