Skip to content

Commit

Permalink
Merge pull request #13897 from IgniteUI/dpetev/grid-toolbar-tree-shake
Browse files Browse the repository at this point in the history
fix(grid,tree-shake): use lightweight token for toolbar
  • Loading branch information
kdinev authored Feb 13, 2024
2 parents 69c0ec8 + 0c32ae9 commit 659e213
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ import { IForOfDataChangingEventArgs, IgxGridForOfDirective } from '../directive
import { IgxTextHighlightDirective } from '../directives/text-highlight/text-highlight.directive';
import { ISummaryExpression } from './summaries/grid-summary';
import { RowEditPositionStrategy } from './grid.common';
import { IgxGridToolbarComponent } from './toolbar/grid-toolbar.component';
import type { IgxGridToolbarComponent } from './toolbar/grid-toolbar.component';
import { IgxToolbarToken } from './toolbar/token';
import { IgxRowDirective } from './row.directive';
import { IgxOverlayOutletDirective, IgxToggleDirective } from '../directives/toggle/toggle.directive';
import {
Expand Down Expand Up @@ -1673,7 +1674,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
public hostRole = 'grid';

/** @hidden @internal */
@ContentChildren(IgxGridToolbarComponent)
@ContentChildren(IgxToolbarToken)
public toolbar: QueryList<IgxGridToolbarComponent>;

/** @hidden @internal */
Expand Down

0 comments on commit 659e213

Please sign in to comment.