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

wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 85aeb8129f AMBARI-25436: Unable to uncheck 'hidden' checkbox in ambari 
stackVersions page (#3513)
85aeb8129f is described below

commit 85aeb8129f5e1dbbc05319fee7f0e7403d1d45c2
Author: Zhiguo Wu <[email protected]>
AuthorDate: Thu Nov 17 16:25:46 2022 +0800

    AMBARI-25436: Unable to uncheck 'hidden' checkbox in ambari stackVersions 
page (#3513)
---
 .../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 1ef50b9e23..e20d835999 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);
     }
   }]);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to