mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -05:00
show loading spinner for plaintext mails as well
This commit is contained in:
parent
e1ba7eb2aa
commit
0bbe3af107
@ -35,7 +35,7 @@
|
||||
</div>
|
||||
</div><!--/.ng-switch-->
|
||||
|
||||
<div class="body" ng-switch="state.mailList.selected === undefined || state.mailList.selected.encrypted === false || (state.mailList.selected.encrypted === true && state.mailList.selected.decrypted === true)">
|
||||
<div class="body" ng-switch="state.mailList.selected === undefined || (state.mailList.selected.encrypted === false && state.mailList.selected.body !== undefined) || (state.mailList.selected.encrypted === true && state.mailList.selected.decrypted === true)">
|
||||
<div ng-switch-when="true">
|
||||
<!-- Render lines of a text-email in divs for easier styling -->
|
||||
<div class="line" ng-repeat="line in state.mailList.selected.body.split('\n') track by $index" ng-class="{'empty-line': lineEmpty(line)}">{{line}}<br></div>
|
||||
|
Loading…
Reference in New Issue
Block a user