Skip to content

Commit

Permalink
fix(data-table-clear-button): convert emitOnly BooleanInput to Input
Browse files Browse the repository at this point in the history
  • Loading branch information
kflo411 committed Sep 17, 2024
1 parent aa434cc commit be7b78f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Output } from '@angular/core';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Output, Input } from '@angular/core';
import { NovoLabelService } from 'novo-elements/services';
import { DataTableState } from './state/data-table-state.service';
import { BooleanInput } from 'novo-elements/utils';

@Component({
selector: 'novo-data-table-clear-button',
Expand Down Expand Up @@ -45,7 +44,7 @@ export class NovoDataTableClearButton<T> {
queryClear: EventEmitter<boolean> = new EventEmitter();
@Output()
allClear: EventEmitter<boolean> = new EventEmitter();
@BooleanInput()
@Input()
emitOnly: boolean = false;

constructor(public state: DataTableState<T>, private ref: ChangeDetectorRef, public labels: NovoLabelService) { }
Expand Down

0 comments on commit be7b78f

Please sign in to comment.