diff --git a/public/js/app.js b/public/js/app.js index 6781f222..d513c378 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1124,6 +1124,7 @@ angular.module('cerebro').controller('RestController', ['$scope', '$http', var success = function(response) { $scope.response = $sce.trustAsHtml(JSONTree.create(response)); + $scope.loadHistory(); }; var failure = function(response) { @@ -1149,6 +1150,7 @@ angular.module('cerebro').controller('RestController', ['$scope', '$http', AlertService.error('Error while loading cluster mappings', error); } ); + $scope.loadHistory(); }; $scope.loadRequest = function(request) { diff --git a/public/rest/index.html b/public/rest/index.html index 43e355e2..7519838f 100644 --- a/public/rest/index.html +++ b/public/rest/index.html @@ -42,7 +42,7 @@