Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix initialization callouts to properly show when first loading anoma…
Browse files Browse the repository at this point in the history
…ly results page (#300)
  • Loading branch information
ohltyler committed Sep 3, 2020
1 parent 30ca604 commit 054e2d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/pages/DetectorResults/containers/AnomalyResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ export function AnomalyResults(props: AnomalyResultsProps) {
BREADCRUMBS.DETECTORS,
{ text: detector ? detector.name : '' },
]);
dispatch(getDetector(detectorId));
}, []);

const fetchDetector = async () => {
await dispatch(getDetector(detectorId));
dispatch(getDetector(detectorId));
};

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Compatible with Kibana 7.9.0
- fix wrong field name when preview ([#277](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/277))
- parse types in fielddata ([#284](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/284))
- Add intermediate callout message during cold start ([#283](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/283))
- Fix initialization callouts to properly show when first loading anomaly results page ([#300](https://github.com/opendistro-for-elasticsearch/anomaly-detection-kibana-plugin/pull/300))

### Infrastructure

Expand Down

0 comments on commit 054e2d3

Please sign in to comment.