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 bb40a51828b58f1b23f046548293c2b88bab6574
Author: Mykola Mandra <[email protected]>
AuthorDate: Mon Aug 2 13:49:38 2021 +0100

    Display node ID in the Scope dropdown menu of the DSL editor
    
    Signed-off-by: Mykola Mandra <[email protected]>
---
 ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.js | 2 ++
 1 file changed, 2 insertions(+)

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 c7b9e16..1cbcbb6 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
@@ -92,6 +92,8 @@ export function dslEditorDirective($rootScope, $filter, $log, 
brUtilsGeneral, bl
             let name = item.name;
             if (attrs.length > 0) {
                 name += ` (${attrs.join(', ')})`;
+            } else {
+                name += ` (${item.entity.id || item.id})`;
             }
 
             return {

Reply via email to