mirror of
https://github.com/moparisthebest/mail
synced 2025-02-16 23:20:09 -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) {
|
if (window.chrome && window.chrome.identity) {
|
||||||
fetchList(function(emails) {
|
fetchList(function(emails) {
|
||||||
$scope.emails = emails;
|
$scope.emails = emails;
|
||||||
|
$scope.select($scope.emails[0]);
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<p class="date">{{selected.longDisplayDate}}</p>
|
<p class="date">{{selected.longDisplayDate}}</p>
|
||||||
|
|
||||||
<div class="address-headers">
|
<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>
|
<p>To: <span class="address" ng-repeat="t in selected.to">{{t.address}} </span></p>
|
||||||
<div ng-switch="selected.cc !== undefined">
|
<div ng-switch="selected.cc !== undefined">
|
||||||
<p ng-switch-when="true">
|
<p ng-switch-when="true">
|
||||||
|
Loading…
Reference in New Issue
Block a user