1
0
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:
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) { $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