mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 00:18:15 +08:00
FIX: Remove extra setting of view
This commit is contained in:
@ -257,7 +257,6 @@ export default Discourse.Controller.extend({
|
|||||||
|
|
||||||
this.setProperties({ showEditReason: false, editReason: null });
|
this.setProperties({ showEditReason: false, editReason: null });
|
||||||
composerMessages.reset();
|
composerMessages.reset();
|
||||||
this.set('view', this.container.lookup('view:composer'));
|
|
||||||
|
|
||||||
// If we want a different draft than the current composer, close it and clear our model.
|
// If we want a different draft than the current composer, close it and clear our model.
|
||||||
if (composerModel && opts.draftKey !== composerModel.draftKey &&
|
if (composerModel && opts.draftKey !== composerModel.draftKey &&
|
||||||
|
Reference in New Issue
Block a user