1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 19:02:20 -05:00

fix bug in selected mail is undefined

This commit is contained in:
Tankred Hase 2013-12-04 16:42:17 +01:00
parent 2e4e59101b
commit e7cf769125

View File

@ -45,6 +45,10 @@ define(function(require) {
$scope.$watch('state.mailList.selected', function() {
var mail = $scope.state.mailList.selected;
if (!mail) {
return;
}
// display sender security status
mail.from.forEach(checkPublicKey);
// display recipient security status