You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by iu...@apache.org on 2021/08/04 07:56:34 UTC

[brooklyn-ui] branch master updated: Display icon in DSL editor search result only if there is one

This is an automated email from the ASF dual-hosted git repository.

iuliana 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 8a552c6  Display icon in DSL editor search result only if there is one
     new 57a251f  Merge pull request #258 from algairim/blueprint-composer-fixes
8a552c6 is described below

commit 8a552c636e9650141c2ee943b6db9b9967fb8cb9
Author: Mykola Mandra <my...@cloudsoft.io>
AuthorDate: Tue Aug 3 17:54:15 2021 +0100

    Display icon in DSL editor search result only if there is one
    
    Signed-off-by: Mykola Mandra <my...@cloudsoft.io>
---
 .../app/components/dsl-editor/dsl-editor.template.html                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.template.html b/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.template.html
index e8a54a3..70e30c8 100644
--- a/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.template.html
+++ b/ui-modules/blueprint-composer/app/components/dsl-editor/dsl-editor.template.html
@@ -62,7 +62,7 @@
                     {{item.name}}
                 </h4>
                 <p class="list-group-item-entity text-right text-muted">
-                    <img ng-src="{{item.entity.icon}}" alt="{{item.entity.miscData.get('typeName') || (item.entity | entityName) || 'New application'}} logo" class="list-group-item-entity-icon" />
+                    <img ng-if="item.entity.icon" ng-src="{{item.entity.icon}}" class="list-group-item-entity-icon"/>
                     {{item.entity.miscData.get('typeName') || (item.entity | entityName) || 'New application'}}
                     <span ng-if="item.entity.id || item.entity._id">({{item.entity.id || item.entity._id}})</span>
                 </p>