Upgrade to Ember 3.7.0
This commit is contained in:
@@ -100,7 +100,7 @@ export default Ember.Component.extend({
|
||||
|
||||
if (this.appEvents) {
|
||||
// xxx: don't run during qunit tests
|
||||
this.appEvents.on("ace:resize", () => this.resize());
|
||||
this.appEvents.on("ace:resize", this, "resize");
|
||||
}
|
||||
|
||||
if (this.get("autofocus")) {
|
||||
|
||||
@@ -10,12 +10,13 @@ export default Discourse.Route.extend({
|
||||
const routeName = "adminUsersList.show";
|
||||
|
||||
if (transition.targetName === routeName) {
|
||||
const params = transition.params[routeName];
|
||||
const params = transition.routeInfos.find(a => a.name === routeName)
|
||||
.params;
|
||||
const controller = this.controllerFor(routeName);
|
||||
if (controller) {
|
||||
controller.setProperties({
|
||||
order: transition.queryParams.order,
|
||||
ascending: transition.queryParams.ascending,
|
||||
order: transition.to.queryParams.order,
|
||||
ascending: transition.to.queryParams.ascending,
|
||||
query: params.filter,
|
||||
showEmails: false,
|
||||
refreshing: false
|
||||
|
||||
Reference in New Issue
Block a user