[Lens] Datatables are not cleared on layer removal #126886
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the bug:
Internal datatables are not cleaned up on layer removal in the configuration, appending any new table to the same multitable data structure.
To reproduce create a Lens visualization, then add a new layer and configure it, then remove it. OPpen the Inspect panel and see that there are 2 tables available to inspect.
Same issues applies also for reference layers.
The text was updated successfully, but these errors were encountered: