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

alexantonenko pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 0e9e57c  AMBARI-25436. Unable to uncheck 'hidden' checkbox in ambari 
stackVersions page
     new 022087a  Merge pull request #3145 from hiveww/AMBARI-25436-branch-2.7
0e9e57c is described below

commit 0e9e57c115c4e16d6556028940297ef792bbb9a8
Author: Alex Antonenko <aantone...@hortonworks.com>
AuthorDate: Fri Nov 29 16:51:39 2019 +0200

    AMBARI-25436. Unable to uncheck 'hidden' checkbox in ambari stackVersions 
page
---
 .../app/scripts/controllers/stackVersions/StackVersionsListCtrl.js      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsListCtrl.js
 
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsListCtrl.js
index 1ef50b9..e20d835 100644
--- 
a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsListCtrl.js
+++ 
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/stackVersions/StackVersionsListCtrl.js
@@ -164,6 +164,6 @@ angular.module('ambariAdminConsole')
     };
 
     $scope.isHideCheckBoxEnabled = function ( repo ) {
-      return !repo.isProccessing && ( (!repo.cluster && repo.status !== 
'OUT_OF_SYNC') || repo.isPatch && ( repo.status === 'INSTALLED' || repo.status 
=== 'INSTALL_FAILED') );
+      return !repo.isProccessing && ( (!repo.cluster && repo.status !== 
'OUT_OF_SYNC') || repo.isPatch && ( repo.status === 'INSTALLED' || repo.status 
=== 'INSTALL_FAILED' ) || repo.hidden);
     }
   }]);

Reply via email to