[SLOs] Load overview on refresh (#184020)

## Summary

Load overview on refresh !!

<img width="1482" alt="image"
src="dd6f96c6-9890-4d65-b2b9-c0e7da86a9ff">
This commit is contained in:
Shahzad 2024-05-22 18:19:24 +02:00 committed by GitHub
parent 5b38b5a6c0
commit c17e957724
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,13 +24,14 @@ import { OverViewItem } from './overview_item';
export function SLOsOverview() {
const { state } = useUrlSearchState();
const { kqlQuery, filters, tagsFilter, statusFilter } = state;
const { kqlQuery, filters, tagsFilter, statusFilter, lastRefresh } = state;
const { data, isLoading } = useFetchSLOsOverview({
kqlQuery,
filters,
tagsFilter,
statusFilter,
lastRefresh,
});
const theme = useEuiTheme().euiTheme;