DEV: Upgrade to Ember 3.7.0 (#6977)

* Upgrade to Ember 3.7.0

* use ember source 3.7.0.2

* fix mobile header

* fix navigation
This commit is contained in:
Maja Komel
2019-03-13 12:16:06 +01:00
committed by GitHub
parent d4d67386c9
commit 3eebf8be73
33 changed files with 214 additions and 152 deletions
@@ -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