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 <[email protected]>
AuthorDate: Mon May 31 15:35:56 2021 +0100

    Create DSL of kind TARGET on select by default
    
    Signed-off-by: Mykola Mandra <[email protected]>
---
 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) {

Reply via email to