mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix deprecation warnings in Ember.
See https://emberjs.com/deprecations/v2.x/#toc_ember-router-router-renamed-to-ember-router-_routermicrolib
This commit is contained in:
parent
90f91bf017
commit
3b3e6ed23f
@ -17,7 +17,7 @@ const DiscourseRoute = Ember.Route.extend({
|
|||||||
refresh() {
|
refresh() {
|
||||||
if (!this.refreshQueryWithoutTransition) { return this._super(); }
|
if (!this.refreshQueryWithoutTransition) { return this._super(); }
|
||||||
|
|
||||||
if (!this.router.router.activeTransition) {
|
if (!this.router._routerMicrolib.activeTransition) {
|
||||||
const controller = this.controller,
|
const controller = this.controller,
|
||||||
model = controller.get('model'),
|
model = controller.get('model'),
|
||||||
params = this.controller.getProperties(Object.keys(this.queryParams));
|
params = this.controller.getProperties(Object.keys(this.queryParams));
|
||||||
|
Loading…
Reference in New Issue
Block a user