You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/05/31 15:17:17 UTC
[brooklyn-ui] 03/04: Create DSL of kind TARGET on select by default
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 0d2da83d6085ad54ad51048c4fbc9430cf592ea4
Author: Mykola Mandra <my...@cloudsoftcorp.com>
AuthorDate: Mon May 31 15:35:56 2021 +0100
Create DSL of kind TARGET on select by default
Signed-off-by: Mykola Mandra <my...@cloudsoftcorp.com>
---
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 5bbd0ee..c7b9e16 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
@@ -368,7 +368,7 @@ export function dslEditorDirective($rootScope, $filter, $log, brUtilsGeneral, bl
}
}
- return new Dsl(KIND.METHOD, 'component').param(new Dsl(KIND.STRING, targetEntity.id));
+ return new Dsl(KIND.TARGET, TARGET.COMPONENT).param(new Dsl(KIND.STRING, targetEntity.id));
}
function isSelfDsl(dsl) {