This is an automated email from the ASF dual-hosted git repository. heneveld pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git
commit 4d9008d9de89c84a24ebd89fdacaa630accb2997 Author: zan-mateusz <[email protected]> AuthorDate: Wed Dec 7 16:39:57 2022 +0000 fix for using the entity id properly to include all entities properties (previously wrongly removed as non-unique) --- ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js b/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js index 4609cf8c..2a507819 100644 --- a/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js +++ b/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js @@ -307,7 +307,7 @@ export function dslEditorDirective($rootScope, $filter, $log, brUtilsGeneral, bl // filtering with both own and parent's ID in case we have same-type child nodes return items.filter(({ id, entity }) => { - const marker = id + ':' + (entity.id || '-'); + const marker = id + ':' + (entity.id || entity._id || '-'); if (IDs.has(marker)) return false; IDs.add(marker); return true;
