Dashbard: Fix refresh interval settings to allow setting it to equal min_refresh_intereval (#26615)
(cherry picked from commit e3ea725387)
This commit is contained in:
committed by
Hugo Häggmark
parent
6f93a81be0
commit
97debfdcce
@@ -39,7 +39,7 @@ export class TimePickerSettings extends PureComponent<Props, State> {
|
|||||||
|
|
||||||
if (config.minRefreshInterval) {
|
if (config.minRefreshInterval) {
|
||||||
intervals = intervals.filter(rate => {
|
intervals = intervals.filter(rate => {
|
||||||
return kbn.interval_to_ms(rate) > kbn.interval_to_ms(config.minRefreshInterval);
|
return kbn.interval_to_ms(rate) >= kbn.interval_to_ms(config.minRefreshInterval);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user