1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 17:02:17 -05:00

display email address in from header if name is not set

This commit is contained in:
Tankred Hase 2013-09-12 00:28:24 +02:00
parent 530569d227
commit 433a151207
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ define(function(require) {
if (window.chrome && window.chrome.identity) {
fetchList(function(emails) {
$scope.emails = emails;
$scope.select($scope.emails[0]);
$scope.$apply();
});
return;

View File

@ -17,7 +17,7 @@
<p class="date">{{selected.longDisplayDate}}</p>
<div class="address-headers">
<p>From: <span class="address">{{selected.from[0].name}}</span></p>
<p>From: <span class="address">{{selected.from[0].name || selected.from[0].address}}</span></p>
<p>To: <span class="address" ng-repeat="t in selected.to">{{t.address}} </span></p>
<div ng-switch="selected.cc !== undefined">
<p ng-switch-when="true">