Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maps] fix layer style editor is empty for EMS boundaries layer #86280

Merged
merged 3 commits into from
Dec 17, 2020

Conversation

nreese
Copy link
Contributor

@nreese nreese commented Dec 17, 2020

Fixes #86274

Change is only a single line. Rest is jest test to catch regression

@nreese nreese added [Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 labels Dec 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

if (!this._isMounted || _.isEqual(styleFields, this.state.styleFields)) {
if (
!this._isMounted ||
(_.isEqual(styleFields, this.state.styleFields) && this.state.styleFieldsHelper !== undefined)
Copy link
Contributor Author

@nreese nreese Dec 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the regression. Editor did not render when styleFieldsHelper is undefined and styleFieldsHelper was not getting set when styleFields was an empty array.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 2.8MB 2.8MB +43.0B

Distributable file count

id before after diff
default 47285 48045 +760

History

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

Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified and works. thx for fixing.

+1 on skipping backporting to 7.10, and just targeting 7.11

@nreese nreese merged commit 7eea1ba into elastic:master Dec 17, 2020
nreese added a commit to nreese/kibana that referenced this pull request Dec 17, 2020
…tic#86280)

* [Maps] fix layer style editor is empty for EMS boundaries layer

* remove cruft

* tslint
nreese added a commit to nreese/kibana that referenced this pull request Dec 17, 2020
…tic#86280)

* [Maps] fix layer style editor is empty for EMS boundaries layer

* remove cruft

* tslint
nreese added a commit that referenced this pull request Dec 17, 2020
…) (#86392)

* [Maps] fix layer style editor is empty for EMS boundaries layer

* remove cruft

* tslint
nreese added a commit that referenced this pull request Dec 17, 2020
…) (#86391)

* [Maps] fix layer style editor is empty for EMS boundaries layer

* remove cruft

* tslint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Deprecated-Use Team:Presentation]Team:Geo Former Team Label for Geo Team. Now use Team:Presentation release_note:skip Skip the PR/issue when compiling release notes v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Maps] layer style editor is empty for EMS boundaries layer
4 participants