Skip to content

Commit

Permalink
Merge pull request #478 from hiveww/AMBARI-23089-trunk
Browse files Browse the repository at this point in the history
AMBARI-23089. UI allows to hide current version
  • Loading branch information
hiveww committed Mar 6, 2018
2 parents 671b1cb + af9fa8a commit 7455837
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -164,6 +164,6 @@ angular.module('ambariAdminConsole')
};

$scope.isHideCheckBoxEnabled = function ( repo ) {
return !repo.isProccessing && ( !repo.cluster || 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') );
}
}]);

0 comments on commit 7455837

Please sign in to comment.