fix: collapse and expand button in charts-of-accounts page (#765)
Fixes: #763
This commit is contained in:
@@ -67,6 +67,7 @@ export class ChartOfAccountsComponent implements AfterViewInit, OnInit {
|
||||
this.glAccountTreeService.treeDataChange.subscribe((glAccountTreeData: GLAccountNode[]) => {
|
||||
this.nestedTreeDataSource.data = glAccountTreeData;
|
||||
this.nestedTreeControl.expand(this.nestedTreeDataSource.data[0]);
|
||||
this.nestedTreeControl.dataNodes = glAccountTreeData;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user