Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ServicePulse.Host/app/js/views/archive/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@
vm.loadingData = false;
};

var saveSelectedArchiveGroup = (amount, unit) => {
var saveSelectedArchiveGroup = function (amount, unit) {
$cookies.put('archive_amount', amount);
$cookies.put('archive_unit', unit);
};

var getSelectedArchiveGroup = () => {
var getSelectedArchiveGroup = function () {
var amount = $cookies.get("archive_amount");
var unit = $cookies.get("archive_unit");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@
toastService.showInfo(messageId + ' copied to clipboard');
};



vm.retrySelected = function () {
toastService.showInfo("Retrying " + vm.selectedIds.length + " messages...");
serviceControlService.retryFailedMessages(vm.selectedIds)
Expand Down
2 changes: 1 addition & 1 deletion src/ServicePulse.Host/app/js/views/message/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
}

function getContentType(headers) {
return headers.find((element) => element.key === 'NServiceBus.ContentType').value;
return headers.find(function (element) { return element.key === 'NServiceBus.ContentType'; }).value;
}

vm.retryMessage = function () {
Expand Down