mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
Updates application route: Adds todo and some code style updates
This commit is contained in:
parent
59f811fc87
commit
a1dc4031f7
@ -1,15 +1,22 @@
|
||||
import Ember from 'ember';
|
||||
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
|
||||
import ApplicationRouteMixin
|
||||
from 'ember-simple-auth/mixins/application-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(ApplicationRouteMixin, {
|
||||
const {
|
||||
Route,
|
||||
run
|
||||
} = Ember;
|
||||
|
||||
export default Route.extend(ApplicationRouteMixin, {
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
Ember.run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
|
||||
run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
|
||||
},
|
||||
|
||||
processLegacyDomOperations() {
|
||||
window.legacySearch();
|
||||
// TODO: DSS-6122 Refactor Remove tree legacy operations & references
|
||||
// window.legacyTree();
|
||||
window.legacyMain();
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user