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
The following commit(s) were added to refs/heads/master by this push:
new 969f152 Reference property by component ID instead of parent in DSL
editor
new 82a265f This closes #260
969f152 is described below
commit 969f152ae4596b3e46d8bd9ea67177fc5ef141cf
Author: Mykola Mandra <[email protected]>
AuthorDate: Wed Aug 4 13:52:58 2021 +0100
Reference property by component ID instead of parent in DSL editor
Signed-off-by: Mykola Mandra <[email protected]>
---
ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js | 3 ---
1 file changed, 3 deletions(-)
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 8c0936e..ce5c430 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
@@ -365,9 +365,6 @@ export function dslEditorDirective($rootScope, $filter,
$log, brUtilsGeneral, bl
if (entity === targetEntity) {
return new Dsl(KIND.TARGET, TARGET.SELF);
}
- if (entity.parent === targetEntity) {
- return new Dsl(KIND.TARGET, TARGET.PARENT);
- }
if (!targetEntity.hasId()) {
if (brUtilsGeneral.isNonEmpty(state.entityId)) {