1
0
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:
Tankred Hase 2013-11-09 13:33:37 +01:00
parent b22b234653
commit ba807ff80f

View File

@ -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