diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index e7b8e4dcf3330..ef87c5321b5e3 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -370,7 +370,7 @@ const DatabaseModal: FunctionComponent = ({ className="preferred-item" onClick={() => setDatabaseModel(database.engine)} buttonText={database.name} - icon={dbImages[database.engine]} + icon={dbImages && dbImages[database.engine]} /> ))}