Browse Source

Fix typo

pull/15085/head
Mahmut Gundogdu 4 years ago
parent
commit
539e929cc0
  1. 4
      npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts
  2. 4
      npm/ng-packs/packages/components/tree/src/lib/disable-tree-style-loading.token.ts

4
npm/ng-packs/packages/components/tree/src/lib/components/tree.component.ts

@ -15,7 +15,7 @@ import { TreeNodeTemplateDirective } from '../templates/tree-node-template.direc
import { ExpandedIconTemplateDirective } from '../templates/expanded-icon-template.directive';
import { NgbDropdown } from '@ng-bootstrap/ng-bootstrap';
import { LazyLoadService, LOADING_STRATEGY, SubscriptionService } from '@abp/ng.core';
import { DISABLE_TREE_STYLE_LADING_TOKEN } from '../disable-tree-style-loading.token';
import { DISABLE_TREE_STYLE_LOADING_TOKEN } from '../disable-tree-style-loading.token';
export type DropEvent = NzFormatEmitEvent & { pos: number };
@ -35,7 +35,7 @@ export class TreeComponent {
private lazyLoadService: LazyLoadService,
subscriptionService: SubscriptionService,
@Optional()
@Inject(DISABLE_TREE_STYLE_LADING_TOKEN)
@Inject(DISABLE_TREE_STYLE_LOADING_TOKEN)
disableTreeStyleLoading: boolean | undefined,
) {
if (disableTreeStyleLoading) {

4
npm/ng-packs/packages/components/tree/src/lib/disable-tree-style-loading.token.ts

@ -1,5 +1,5 @@
import { InjectionToken } from '@angular/core';
export const DISABLE_TREE_STYLE_LADING_TOKEN = new InjectionToken<boolean>(
'DISABLE_TREE_STYLE__LADING_TOKEN',
export const DISABLE_TREE_STYLE_LOADING_TOKEN = new InjectionToken<boolean>(
'DISABLE_TREE_STYLE_LOADING_TOKEN',
);

Loading…
Cancel
Save