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:
commit
0c275ad8d4
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue