mail: display source

This commit is contained in:
Girish Ramakrishnan
2020-02-18 19:48:17 -08:00
parent 84310336bd
commit 932de7dba7
2 changed files with 24 additions and 11 deletions

View File

@@ -45,6 +45,11 @@ angular.module('Application').controller('EmailsController', ['$scope', '$locati
showEventLogDetails: function (eventLog) {
if ($scope.activity.activeEventLog === eventLog) $scope.activity.activeEventLog = null;
else $scope.activity.activeEventLog = eventLog;
},
updateFilter: function () {
$scope.activity.currentPage = 1;
$scope.activity.refresh();
}
};