Skip to content

Commit

Permalink
NAS-122283: Fix reporting zoom level for 6 months (#8497)
Browse files Browse the repository at this point in the history
  • Loading branch information
denysbutenko authored Jul 28, 2023
1 parent a3da953 commit 5609991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export class ReportComponent extends WidgetComponent implements OnInit, OnChange
switch (timespan) {
case ReportZoomLevel.HalfYear:
durationUnit = 'months';
value = 5;
value = 6;
break;
case ReportZoomLevel.Month:
durationUnit = 'months';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export enum ReportZoomLevel {
Day = '24h',
Week = '7d',
Month = '1M',
HalfYear = '5M',
HalfYear = '6M',
}

export const zoomLevelLabels = new Map<ReportZoomLevel, string>([
Expand Down

0 comments on commit 5609991

Please sign in to comment.