Skip to content

[7.6] [ML] Single Metric Viewer: Fix annnotations refresh. (#56107)#56162

Merged
walterra merged 1 commit intoelastic:7.6from
walterra:backport/7.6/pr-56107
Jan 28, 2020
Merged

[7.6] [ML] Single Metric Viewer: Fix annnotations refresh. (#56107)#56162
walterra merged 1 commit intoelastic:7.6from
walterra:backport/7.6/pr-56107

Conversation

@walterra
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.6:

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 bae1e96 into elastic:7.6 Jan 28, 2020
@walterra walterra deleted the backport/7.6/pr-56107 branch January 29, 2020 07:44
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