Ensure existing invalid datasource definitions are also fixed by checking data source type before fetching table definitions
This commit is contained in:
parent
3bb9834895
commit
cb90b872f5
|
@ -80,7 +80,7 @@
|
|||
}
|
||||
|
||||
const fetchTable = async dataSource => {
|
||||
if (dataSource?.tableId) {
|
||||
if (dataSource?.tableId && dataSource?.type !== "query") {
|
||||
try {
|
||||
table = await API.fetchTableDefinition(dataSource.tableId)
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue