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 583b540579e99..e0f723bc35c85 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()}