Skip to content

Commit

Permalink
Merge pull request #15097 from abpframework/disable-tree-style-loading
Browse files Browse the repository at this point in the history
hotfix this.
  • Loading branch information
muhammedaltug authored Dec 13, 2022
2 parents 45496b1 + ee0fe93 commit eb8a336
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ export class TreeComponent implements OnInit {
}

private loadStyle() {
if (disableTreeStyleLoading) {
if (this.disableTreeStyleLoading) {
return;
}
const loaded$ = this.lazyLoadService.load(
LOADING_STRATEGY.AppendAnonymousStyleToHead('ng-zorro-antd-tree.css'),
);
subscriptionService.addOne(loaded$);
this.subscriptionService.addOne(loaded$);
}

onSelectedNodeChange(node) {
Expand Down

0 comments on commit eb8a336

Please sign in to comment.