Browse Source

Minor improvements

pull/5618/head
Thomas Kaul 2 weeks ago
parent
commit
25f5285c8d
  1. 14
      libs/ui/src/lib/portfolio-filter-form/portfolio-filter-form.component.ts

14
libs/ui/src/lib/portfolio-filter-form/portfolio-filter-form.component.ts

@ -63,11 +63,6 @@ export class GfPortfolioFilterFormComponent
public filterForm: FormGroup;
// eslint-disable-next-line @typescript-eslint/no-empty-function
private onChange: (value: PortfolioFilterFormValue) => void = () => {};
// eslint-disable-next-line @typescript-eslint/no-empty-function
private onTouched: () => void = () => {};
private unsubscribeSubject = new Subject<void>();
public constructor(
@ -170,4 +165,13 @@ export class GfPortfolioFilterFormComponent
this.unsubscribeSubject.next();
this.unsubscribeSubject.complete();
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
private onChange = (_value: PortfolioFilterFormValue): void => {
// ControlValueAccessor onChange callback
};
private onTouched = (): void => {
// ControlValueAccessor onTouched callback
};
}

Loading…
Cancel
Save