Skip to content

Commit

Permalink
(js) Make sure mail identities are unique
Browse files Browse the repository at this point in the history
Fixes #4338
  • Loading branch information
cgx committed Dec 15, 2017
1 parent 7f99514 commit 3816d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Mailer/MessageEditorController.js
Expand Up @@ -19,7 +19,7 @@
vm.isFullscreen = false;
vm.hideBcc = (stateMessage.editable.bcc.length === 0);
vm.hideCc = (stateMessage.editable.cc.length === 0);
vm.identities = _.map(stateAccount.identities, 'full');
vm.identities = _.uniq(_.map(stateAccount.identities, 'full'));
vm.message = stateMessage;
vm.recipientSeparatorKeys = [
$mdConstant.KEY_CODE.ENTER,
Expand Down

0 comments on commit 3816d25

Please sign in to comment.