Skip to content

[7.x] [ML] Single Metric Viewer: Fix annnotations refresh. (#56107)#56161

Merged
walterra merged 1 commit intoelastic:7.xfrom
walterra:backport/7.x/pr-56107
Jan 28, 2020
Merged

[7.x] [ML] Single Metric Viewer: Fix annnotations refresh. (#56107)#56161
walterra merged 1 commit intoelastic:7.xfrom
walterra:backport/7.x/pr-56107

Conversation

@walterra
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

When creating/editing/deleting an annotation, the Single Metric Viewer page wouldn't update with the applied changes. This fixes it by tracking the change in the outer component with lastRefresh/previousRefresh and making it a condition in contextChartSelected() to trigger an update after a refresh.
@walterra walterra added the backport This PR is a backport of another PR label Jan 28, 2020
@walterra walterra self-assigned this Jan 28, 2020
@walterra walterra added the :ml label Jan 28, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@walterra walterra merged commit 030cdf2 into elastic:7.x Jan 28, 2020
@walterra walterra deleted the backport/7.x/pr-56107 branch January 29, 2020 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants