You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2022/11/17 08:25:52 UTC

[ambari] branch trunk updated: AMBARI-25436: Unable to uncheck 'hidden' checkbox in ambari stackVersions page (#3513)

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 <wu...@apache.org>
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: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org