perspective display - mongo nested objects

This commit is contained in:
Jan Prochazka
2022-10-02 12:01:07 +02:00
parent d647d30258
commit 7a3c46b691
4 changed files with 124 additions and 59 deletions

View File

@@ -797,6 +797,7 @@ export class PerspectivePatternColumnNode extends PerspectiveTreeNode {
}
get generatesHiearchicGridColumn() {
// console.log('generatesHiearchicGridColumn', this.parentTableNode?.nodeConfig?.checkedColumns, this.codeName + '::');
return !!this.parentTableNode?.nodeConfig?.checkedColumns?.find(x => x.startsWith(this.codeName + '::'));
}