mirror of
https://github.com/moparisthebest/mail
synced 2024-11-29 20:32:15 -05:00
fix watch of selected mail in reader
This commit is contained in:
parent
1e9e6a2b21
commit
e3e7962b3e
@ -50,8 +50,7 @@ define(function(require) {
|
||||
});
|
||||
};
|
||||
|
||||
$scope.$watch('state.mailList.selected', function() {
|
||||
var mail = $scope.state.mailList.selected;
|
||||
$scope.$watch('state.mailList.selected', function(mail) {
|
||||
if (!mail) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user