FIX: default draft key in openComposerWithTopicParams (#8496)

This commit is contained in:
Mark VanLandingham
2019-12-09 07:53:05 -08:00
committed by GitHub
parent aa24be1a9a
commit 78d67f34f9

View File

@@ -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")
});
},