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 <[email protected]>
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 <[email protected]>
---
.../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>