Browse Source
Merge pull request #15097 from abpframework/disable-tree-style-loading
hotfix this.
pull/15098/head
Muhammed Altuğ
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts
|
|
|
@ -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) { |
|
|
|
|