From 315bf97c428c391a933c35c0b6aebc2fc6dc0d8f Mon Sep 17 00:00:00 2001 From: Aastha Bist Date: Tue, 10 Sep 2024 22:21:03 +0530 Subject: [PATCH] Update fy-filters.component.ts --- src/app/shared/components/fy-filters/fy-filters.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/shared/components/fy-filters/fy-filters.component.ts b/src/app/shared/components/fy-filters/fy-filters.component.ts index c3a1996a9f..bb7c9889c3 100644 --- a/src/app/shared/components/fy-filters/fy-filters.component.ts +++ b/src/app/shared/components/fy-filters/fy-filters.component.ts @@ -38,11 +38,11 @@ export class FyFiltersComponent implements OnInit { constructor(private modalController: ModalController) {} - get FilterOptionType(): typeof FilterOptionType { + get FilterOptionType() { return FilterOptionType; } - ngOnInit(): void { + ngOnInit() { const activeFilterInitialIndex = (this.activeFilterInitialName && this.filterOptions.findIndex((option) => option.name === this.activeFilterInitialName)) ||