mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Infra][Hosts] Reset SearchBar refresh state to fully disable auto-refresh (#205416)
## Summary A bug with the search bar configuration allows for a page that does not have auto-refresh enabled to inherit the auto-refresh state from another page that had previously enabled it. This PR fixes that by fully resetting the state for the page's search bar to ensure auto-refresh is not active for Hosts page (as it should be). Closes #205414 ## How to test - Go to Alerts page - Click on the Date Quick Selector, enable the auto-refresh feature. Confirm the refresh icon is on the datepicker now. - Navigate to Hosts page - The auto-refresh icon on the Hosts page search bar datepicker should no longer be visible, and opening the date quick selector should not show any auto-refresh feature/toggle.
This commit is contained in:
parent
8d1845208e
commit
d25dcc11eb
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ export const UnifiedSearchBar = () => {
|
|||
showQueryMenu
|
||||
useDefaultBehaviors
|
||||
isAutoRefreshDisabled
|
||||
isRefreshPaused
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue