mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 08:32:45 +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,
|
topicBody,
|
||||||
topicCategoryId,
|
topicCategoryId,
|
||||||
topicTags,
|
topicTags,
|
||||||
draftKey: controller.get("model.draft_key"),
|
draftKey: controller.get("model.draft_key") || Composer.NEW_TOPIC_KEY,
|
||||||
draftSequence: controller.get("model.draft_sequence")
|
draftSequence: controller.get("model.draft_sequence")
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user