Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only deduplicate canvas controls if their keys match (#6208)
## Problem The canvas control deduplication logic only takes into account the control components. This can be problematic we want to render multiple instances of the same component (for example, multiple grid controls in #6203). With the current code, only one of each type of control is kept. ## Fix When the uniqueness check is performed, take into account both the control component and the key supplied with the control. This way, multiple instances of the same control component can be rendered (provided their keys are unique, which for example can be done by including the strategy name and/or a selected element path in the key)
- Loading branch information