fix(mail(js)): handle new message from template in popup window

This commit is contained in:
Francis Lachapelle committed 2022-02-14 12:56:08 -05:00
1 parent 21dc73df56
commit 6c420861d4
2 files changed
+9 -1

No files matched your search

@@ -83,6 +83,14 @@
_addAttachments();
});
}
else if ($stateParams.actionName == 'compose') {
stateMessage.$compose().then(function(msgObject) {
vm.message = msgObject;
vm.fromIdentity = msgObject.editable.from;
_updateFileUploader();
_addAttachments();
});
}
else if (angular.isDefined(stateMessage)) {
this.message = stateMessage;
_updateFileUploader();