Fix undefined
This commit is contained in:
parent
2381bbd80c
commit
fbadd55cbf
|
@ -118,7 +118,7 @@ export const enrichDatasources = (
|
|||
|
||||
const entities = Array.isArray(datasource.entities)
|
||||
? datasource.entities
|
||||
: Object.values(datasource.entities)
|
||||
: Object.values(datasource.entities || {})
|
||||
const dsTables = entities.filter(
|
||||
table =>
|
||||
!searchTerm ||
|
||||
|
|
Loading…
Reference in New Issue