fix: avoid errors
This commit is contained in:
parent
cd78192f84
commit
67dc21baf7
@ -109,7 +109,7 @@ export const TableBlockProvider = (props) => {
|
||||
}
|
||||
let childrenColumnName = 'children';
|
||||
if (collection?.tree && treeTable !== false) {
|
||||
if (resourceName.includes('.')) {
|
||||
if (resourceName?.includes('.')) {
|
||||
const f = getCollectionField(resourceName);
|
||||
if (f?.treeChildren) {
|
||||
childrenColumnName = f.name;
|
||||
|
Loading…
Reference in New Issue
Block a user