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 2022/02/11 10:57:12 UTC
[brooklyn-ui] branch master updated: Do not display versions dropdown if there are no versions to show
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 a945bca Do not display versions dropdown if there are no versions to show
new 532c603 Merge pull request #313 from algairim/composer-improvements
a945bca is described below
commit a945bca555abb8f74056ec51b3fc23fe121d30e3
Author: Mykola Mandra <my...@cloudsoft.io>
AuthorDate: Fri Feb 11 10:52:51 2022 +0000
Do not display versions dropdown if there are no versions to show
Signed-off-by: Mykola Mandra <my...@cloudsoft.io>
---
.../app/components/spec-editor/spec-editor.template.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.template.html b/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.template.html
index 7437602..9836ead 100644
--- a/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.template.html
+++ b/ui-modules/blueprint-composer/app/components/spec-editor/spec-editor.template.html
@@ -55,7 +55,7 @@
ng-click="specEditor.descriptionVisible = !specEditor.descriptionVisible">
</i>
<i class="fa fa-bookmark panel-header-icon"></i><samp class="entity-type-header">{{model.type}}</samp>
- <div class="version-selection">
+ <div ng-if="state.availableVersions.length > 0" class="version-selection">
<i class="fa fa-code-fork panel-header-icon"></i>
<div class="btn-group" uib-dropdown dropdown-append-to-body>
<button type="button" class="btn btn-primary fixed">{{state.selectedVersion}}</button>