From eb439b0960d215acab5345e002a524d21a1247ed Mon Sep 17 00:00:00 2001 From: Brad Buckingham Date: Mon, 29 Aug 2016 15:21:38 -0400 Subject: [PATCH] fixes #16346 - composite view - do not show unpublished views This commit contains a small change so that content views that have not been published (i.e. no versions exist) are not presented to the user in the UI. --- .../views/content-view-composite-available-content-views.html | 3 ++- .../views/content-view-composite-content-views-list.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-available-content-views.html b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-available-content-views.html index 21a49ee7e0a..f4ad0ecb471 100644 --- a/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-available-content-views.html +++ b/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-available-content-views.html @@ -42,7 +42,8 @@ + row-select="contentView" + ng-hide="contentView.versions.length === 0"> {{ contentView.name }}