FIX: regression unable to send any PMs if you have a PM draft
This commit is contained in:
parent
71892cc5f4
commit
b2633098ee
|
@ -689,6 +689,13 @@ const Composer = RestModel.extend({
|
|||
});
|
||||
|
||||
Composer.reopenClass({
|
||||
|
||||
open(opts) {
|
||||
const composer = Discourse.__container__.lookup('store:main').createRecord('composer');
|
||||
composer.open(opts);
|
||||
return composer;
|
||||
},
|
||||
|
||||
loadDraft(opts) {
|
||||
opts = opts || {};
|
||||
|
||||
|
|
Loading…
Reference in New Issue