app: various eventlog fixes

This commit is contained in:
Girish Ramakrishnan
2021-10-19 09:49:53 -07:00
parent 9e483a317d
commit e9a9578735
2 changed files with 26 additions and 20 deletions

View File

@@ -923,7 +923,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
eventLogs: [],
activeEventLog: null,
currentPage: 1,
perPage: 30,
perPage: 15,
show: function () {
$scope.eventlog.refresh();
@@ -937,7 +937,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
$scope.eventlog.eventLogs = [];
result.forEach(function (e) {
$scope.eventlog.eventLogs.push({ raw: e, details: Client.eventLogDetails(e, true /* redact app descriptor */), source: Client.eventLogSource(e) });
$scope.eventlog.eventLogs.push({ raw: e, details: Client.eventLogDetails(e, $scope.app.id), source: Client.eventLogSource(e) });
});
$scope.eventlog.busy = false;