mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
chore: cleanup on catalog check for Gsheets (#21738)
This commit is contained in:
parent
605b6920a6
commit
bd3166b603
@ -744,12 +744,12 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
engine_information,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (database_name === 'Google Sheets') {
|
||||
if (engine === Engines.GSheet) {
|
||||
// only create a catalog if the DB is Google Sheets
|
||||
setDB({ type: ActionType.addTableCatalogSheet });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const renderAvailableSelector = () => (
|
||||
|
Loading…
Reference in New Issue
Block a user