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() {
|
$scope.$watch('state.mailList.selected', function(mail) {
|
||||||
var mail = $scope.state.mailList.selected;
|
|
||||||
if (!mail) {
|
if (!mail) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user