From fe7f0e8d09b098bc4d98a9716fdbaa9da97d44ec Mon Sep 17 00:00:00 2001 From: mabashian Date: Fri, 28 Jul 2017 17:59:01 -0400 Subject: [PATCH] Changed showSelection2container to hasSelectedRows --- .../src/access/add-rbac-resource/rbac-resource.controller.js | 2 +- .../src/access/add-rbac-resource/rbac-resource.partial.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/access/add-rbac-resource/rbac-resource.controller.js b/awx/ui/client/src/access/add-rbac-resource/rbac-resource.controller.js index f283399998..f43226537c 100644 --- a/awx/ui/client/src/access/add-rbac-resource/rbac-resource.controller.js +++ b/awx/ui/client/src/access/add-rbac-resource/rbac-resource.controller.js @@ -88,7 +88,7 @@ export default ['$rootScope', '$scope', 'GetBasePath', 'Rest', '$q', 'Wait', 'Pr scope.showKeyPane = !scope.showKeyPane; }; - scope.showSection2Container = function(){ + scope.hasSelectedRows = function(){ return _.any(scope.allSelected, (type) => Object.keys(type).length > 0); }; diff --git a/awx/ui/client/src/access/add-rbac-resource/rbac-resource.partial.html b/awx/ui/client/src/access/add-rbac-resource/rbac-resource.partial.html index 6ea6bb18a5..a01030455b 100644 --- a/awx/ui/client/src/access/add-rbac-resource/rbac-resource.partial.html +++ b/awx/ui/client/src/access/add-rbac-resource/rbac-resource.partial.html @@ -51,7 +51,7 @@ - +
@@ -110,7 +110,7 @@