mail eventlog is owner only

This commit is contained in:
Girish Ramakrishnan
2020-03-26 18:56:32 -07:00
parent f9fb2ca3a1
commit 324bc763fc
2 changed files with 5 additions and 4 deletions

View File

@@ -160,7 +160,8 @@ angular.module('Application').controller('EmailsController', ['$scope', '$locati
$scope.domains = domains;
$scope.ready = true;
$scope.activity.refresh();
if ($scope.user.role === 'owner') $scope.activity.refresh();
refreshDomainStatuses();
});
});