Fix undefined

This commit is contained in:
Adria Navarro 2023-11-20 13:13:19 +01:00
parent 2381bbd80c
commit fbadd55cbf
1 changed files with 1 additions and 1 deletions

View File

@ -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 ||