mirror of
https://github.com/moparisthebest/mail
synced 2024-11-23 09:22:23 -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) {
|
$scope.select = function(email) {
|
||||||
if (!email) {
|
if (!email) {
|
||||||
|
$scope.state.mailList.selected = undefined;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// split text only emails into parts for easier rendering
|
// split text only emails into parts for easier rendering
|
||||||
|
Loading…
Reference in New Issue
Block a user