BUGFIX: calling _super() won't actually set the model to the controller
cf. https://github.com/discourse/discourse/commit/351719f7c17d9135caad4140b34ceb020900224d#commitcomment-5410366 for more information
This commit is contained in:
@@ -13,7 +13,7 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
|
||||
},
|
||||
|
||||
setupController: function(controller, model) {
|
||||
this._super(controller, model);
|
||||
controller.set("model", model);
|
||||
// resets the filters
|
||||
controller.set("filter", { status: this.get("status") });
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user