mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
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:
@@ -54,7 +54,8 @@ function loadDraft(store, opts) {
|
||||
draftKey,
|
||||
draftSequence,
|
||||
draft: true,
|
||||
composerState: Composer.DRAFT
|
||||
composerState: Composer.DRAFT,
|
||||
topic: opts.topic
|
||||
};
|
||||
|
||||
serializedFields.forEach(f => {
|
||||
|
||||
Reference in New Issue
Block a user