Skip to content

Commit

Permalink
[7.10] [ML] Enforce pause when it's set to false with 0 refresh inter…
Browse files Browse the repository at this point in the history
…val (elastic#86805)  (elastic#86894)

* [ML] enforce pause

* [ML] move condition
  • Loading branch information
darnautov committed Dec 23, 2020
1 parent 733d0aa commit 4cafa58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const DatePickerWrapper: FC = () => {
<EuiSuperDatePicker
start={time.from}
end={time.to}
isPaused={refreshInterval.pause}
isPaused={refreshInterval.pause || (!refreshInterval.pause && !refreshInterval.value)}
isAutoRefreshOnly={!isTimeRangeSelectorEnabled}
refreshInterval={refreshInterval.value}
onTimeChange={updateFilter}
Expand Down

0 comments on commit 4cafa58

Please sign in to comment.