Merge branch 'fix/budi-7827' of github.com:Budibase/budibase
This commit is contained in:
commit
5901b0ea17
|
@ -44,7 +44,9 @@
|
|||
})
|
||||
})
|
||||
|
||||
return Object.values(relatedColumns).map(({ from, to, through }) => {
|
||||
return Object.values(relatedColumns)
|
||||
.filter(({ from, to }) => from && to)
|
||||
.map(({ from, to, through }) => {
|
||||
return {
|
||||
tables: `${from.tableName} ${through ? "↔" : "→"} ${to.tableName}`,
|
||||
columns: `${from.name} to ${to.name}`,
|
||||
|
|
Loading…
Reference in New Issue