Merge pull request #13552 from ChantsovaEkaterina/bug/timewindow-history-range-default-selection

Make last day selection default in Range (Time window History)
This commit is contained in:
Igor Kulikov 2025-06-10 17:29:07 +03:00 committed by GitHub
commit 1eea7e71ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -294,7 +294,8 @@ export class TimewindowPanelComponent extends PageComponent implements OnInit, O
disabled: hideAggInterval
}],
fixedTimewindow: [{
value: isDefined(history?.fixedTimewindow) ? history.fixedTimewindow : null,
value: isDefined(history?.fixedTimewindow) && this.timewindow.selectedTab === TimewindowType.HISTORY
&& history.historyType === HistoryWindowType.FIXED ? history.fixedTimewindow : null,
disabled: history.hideInterval || history.hideFixedInterval
}],
quickInterval: [{