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 dee6f4dd3f9dc..c4faa8a483ebe 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -139,6 +139,8 @@ const errorAlertMapping = { ), }, }; +const googleSheetConnectionEngine = 'gsheets'; + interface DatabaseModalProps { addDangerToast: (msg: string) => void; addSuccessToast: (msg: string) => void; @@ -1575,32 +1577,36 @@ const DatabaseModal: FunctionComponent = ({ validationErrors={validationErrors} />
infoTooltip(theme)}> - - + {dbModel.engine !== googleSheetConnectionEngine && ( + <> + + + + )}
{/* Step 2 */} {showDBError && errorAlert()}