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:
parent
530569d227
commit
433a151207
@ -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;
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user