mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:42:55 +08:00
FIX: default draft key in openComposerWithTopicParams (#8496)
This commit is contained in:
parent
aa24be1a9a
commit
78d67f34f9
|
@ -34,7 +34,7 @@ export default Mixin.create({
|
|||
topicBody,
|
||||
topicCategoryId,
|
||||
topicTags,
|
||||
draftKey: controller.get("model.draft_key"),
|
||||
draftKey: controller.get("model.draft_key") || Composer.NEW_TOPIC_KEY,
|
||||
draftSequence: controller.get("model.draft_sequence")
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user