mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: default draft key in openComposerWithTopicParams (#8496)
This commit is contained in:
committed by
GitHub
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")
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user