-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens] fix pie suggestions (#159902)
## Summary Fixes #159711 When dragging a numeric field to a pie with a metric and a group already defined, we add another metric even if `allowMultipleMetric` setting is not set. I fixed it by making it work the same way as a heatmap when the setting is off - replacing metric instead. Not sure if that's a correct approach though (should we block the suggestion whatsover?) but definitely an improvement. --------- Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
- Loading branch information
Showing
2 changed files
with
58 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters