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