Skip to content

Commit

Permalink
Update absolute time range when refresh button is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
maryam-saeidi committed Jun 21, 2023
1 parent 513403e commit 6ba0503
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/observability/public/pages/alerts/alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ function InternalAlertsPage() {
bucketSize?.intervalString || DEFAULT_INTERVAL,
bucketSize?.dateFormat || DEFAULT_DATE_FORMAT
),
[alertSearchBarStateProps.rangeFrom, alertSearchBarStateProps.rangeTo, bucketSize]
// eslint-disable-next-line react-hooks/exhaustive-deps
[alertSearchBarStateProps.rangeFrom, alertSearchBarStateProps.rangeTo, bucketSize, esQuery]
);

useBreadcrumbs([
Expand Down

0 comments on commit 6ba0503

Please sign in to comment.