FIX: when loading drafts set the topic

the behavior of loadDraft regressed and it no longer correctly set the topic
model leading to "undefined" when attempting to reply
This commit is contained in:
Sam Saffron
2020-04-06 16:29:14 +10:00
parent 40546af217
commit 81c912bb00
@@ -54,7 +54,8 @@ function loadDraft(store, opts) {
draftKey,
draftSequence,
draft: true,
composerState: Composer.DRAFT
composerState: Composer.DRAFT,
topic: opts.topic
};
serializedFields.forEach(f => {