mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
This commit is contained in:
parent
32a9fcd163
commit
909dd21e00
2 changed files with 1 additions and 4 deletions
|
@ -66,9 +66,6 @@ export const useRefreshInterval = (
|
|||
}
|
||||
|
||||
function clearRefreshInterval() {
|
||||
if (refreshIntervalSubscription) {
|
||||
refreshIntervalSubscription.unsubscribe();
|
||||
}
|
||||
setBlockRefresh(true);
|
||||
if (transformRefreshInterval !== null) {
|
||||
window.clearInterval(transformRefreshInterval);
|
||||
|
|
|
@ -124,7 +124,7 @@ export class JobsListView extends Component {
|
|||
initAutoRefreshUpdate() {
|
||||
// update the interval if it changes
|
||||
this.refreshIntervalSubscription = timefilter.getRefreshIntervalUpdate$().subscribe({
|
||||
next: this.setAutoRefresh
|
||||
next: () => this.setAutoRefresh()
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue