@@ -58,6 +58,10 @@ angular.module('ambariAdminConsole')
$scope.getStackVersions();
};
+ $scope.goToCluster = function() {
+ window.location.replace('/#/main/admin/versions/updates');
+ };
+
$scope.tableInfo = {
total: 0,
showed: 0,
@@ -65,6 +65,7 @@
{{stack.cluster}}
</a>
<select ng-show="!stack.cluster"
+ ng-change="goToCluster()"
ng-model="selectedCluster"
ng-options="cluster.Clusters.cluster_name for cluster in clusters">
</select>