FIX: Opening new topic draft never creates post (#8828)
This commit is contained in:
parent
6bee972a5c
commit
49c750ca78
|
@ -912,6 +912,10 @@ const Composer = RestModel.extend({
|
|||
},
|
||||
|
||||
createPost(opts) {
|
||||
if (this.action === CREATE_TOPIC) {
|
||||
this.set("topic", null);
|
||||
}
|
||||
|
||||
const post = this.post;
|
||||
const topic = this.topic;
|
||||
const user = this.user;
|
||||
|
|
Loading…
Reference in New Issue