From 2290412b3264c707eb47623f2bf991a3b31a7467 Mon Sep 17 00:00:00 2001 From: hughhhh Date: Thu, 10 Jun 2021 13:08:41 -0400 Subject: [PATCH] fix superset_text issue --- .../src/views/CRUD/data/database/DatabaseModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]} /> ))}