-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Conversation
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) |
There was a problem hiding this comment.
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.
💚 Build SucceededMetrics [docs]Async chunks
Distributable file count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this 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
…tic#86280) * [Maps] fix layer style editor is empty for EMS boundaries layer * remove cruft * tslint
…tic#86280) * [Maps] fix layer style editor is empty for EMS boundaries layer * remove cruft * tslint
…) (#86392) * [Maps] fix layer style editor is empty for EMS boundaries layer * remove cruft * tslint
…) (#86391) * [Maps] fix layer style editor is empty for EMS boundaries layer * remove cruft * tslint
Fixes #86274
Change is only a single line. Rest is jest test to catch regression