From daa876e7e42060d1e11024d95291638b3eb92bca Mon Sep 17 00:00:00 2001 From: Sudhansh Pal Date: Mon, 30 Sep 2024 16:17:21 +0530 Subject: [PATCH] bug fix --- UI/src/app/dashboardv2/filter-v2/filter-new.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UI/src/app/dashboardv2/filter-v2/filter-new.component.ts b/UI/src/app/dashboardv2/filter-v2/filter-new.component.ts index 2e849bdec5..ae0ca63cbe 100644 --- a/UI/src/app/dashboardv2/filter-v2/filter-new.component.ts +++ b/UI/src/app/dashboardv2/filter-v2/filter-new.component.ts @@ -158,6 +158,9 @@ export class FilterNewComponent implements OnInit, OnDestroy { if (!this.dateRangeFilter.types.includes('Months')) { this.dateRangeFilter.types.push('Months'); } + if(this.selectedTab === 'developer'){ + this.dateRangeFilter.types = this.dateRangeFilter.types.filter((type) => type !== 'Months'); + } } else { this.kanban = false; this.dateRangeFilter.types = this.dateRangeFilter.types.filter((type) => type !== 'Months');