Merge pull request #15422 from Budibase/fix/create-table-modal

Fix an issue that broke creating new table screen modal
This commit is contained in:
Adria Navarro 2025-01-22 16:45:53 +01:00 committed by GitHub
commit 0c275ad8d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export const datasourceSelect = {
}, },
viewV2: (view, datasources) => { viewV2: (view, datasources) => {
const datasource = datasources const datasource = datasources
.filter(f => f.entities) ?.filter(f => f.entities)
.flatMap(d => d.entities) .flatMap(d => d.entities)
.find(ds => ds._id === view.tableId) .find(ds => ds._id === view.tableId)
return { return {