mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -05:00
set selected to undefined if email is empty
This commit is contained in:
parent
b22b234653
commit
ba807ff80f
@ -56,6 +56,7 @@ define(function(require) {
|
||||
|
||||
$scope.select = function(email) {
|
||||
if (!email) {
|
||||
$scope.state.mailList.selected = undefined;
|
||||
return;
|
||||
}
|
||||
// split text only emails into parts for easier rendering
|
||||
|
Loading…
Reference in New Issue
Block a user