diff --git a/src/ServicePulse.Host/app/js/views/archive/controller.js b/src/ServicePulse.Host/app/js/views/archive/controller.js index 0debba3a72..1e43772ad0 100644 --- a/src/ServicePulse.Host/app/js/views/archive/controller.js +++ b/src/ServicePulse.Host/app/js/views/archive/controller.js @@ -68,7 +68,7 @@ vm.archives = vm.archives.concat(exgroups); vm.allMessagesLoaded = (vm.archives.length >= vm.total); - vm.page++; + vm.sort.page++; } vm.loadingData = false; @@ -156,6 +156,7 @@ // We are going to have to wait for service control to tell us the job has been done // group.workflow_state = createWorkflowState('success', message); notifier.notify('RestoreFromArchiveRequestAccepted'); + $scope.$emit('list:updated'); }, function (message) { // group.workflow_state = createWorkflowState('error', message); diff --git a/src/ServicePulse.Host/app/js/views/archive/view.html b/src/ServicePulse.Host/app/js/views/archive/view.html index 6b16c7a230..c37fb7a26e 100644 --- a/src/ServicePulse.Host/app/js/views/archive/view.html +++ b/src/ServicePulse.Host/app/js/views/archive/view.html @@ -45,7 +45,7 @@ -
+
diff --git a/src/ServicePulse.Host/app/js/views/failed_messages/controller.js b/src/ServicePulse.Host/app/js/views/failed_messages/controller.js index 55a978bb39..b1240b19cf 100644 --- a/src/ServicePulse.Host/app/js/views/failed_messages/controller.js +++ b/src/ServicePulse.Host/app/js/views/failed_messages/controller.js @@ -153,6 +153,8 @@ vm.failedMessages = vm.failedMessages.filter(function(item) { return !item.selected; }); + + $scope.$emit("list:updated"); }); }; @@ -272,4 +274,4 @@ angular.module('sc') .controller('failedMessagesController', controller); -})(window, window.angular); \ No newline at end of file +})(window, window.angular); diff --git a/src/ServicePulse.Host/app/js/views/failed_messages/view.html b/src/ServicePulse.Host/app/js/views/failed_messages/view.html index e984d8ad83..691968f149 100644 --- a/src/ServicePulse.Host/app/js/views/failed_messages/view.html +++ b/src/ServicePulse.Host/app/js/views/failed_messages/view.html @@ -68,7 +68,7 @@

{{vm.selectedExceptionGroup.c

-
+