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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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