mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-26 17:37:33 +00:00
DSS-5869 Adds Route: application
This commit is contained in:
parent
7bbe3acd8c
commit
0a5add448d
15
wherehows-web/app/routes/application.js
Normal file
15
wherehows-web/app/routes/application.js
Normal file
@ -0,0 +1,15 @@
|
||||
import Ember from 'ember';
|
||||
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
|
||||
|
||||
export default Ember.Route.extend(ApplicationRouteMixin, {
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
Ember.run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
|
||||
},
|
||||
|
||||
processLegacyDomOperations() {
|
||||
window.legacySearch();
|
||||
// window.legacyTree();
|
||||
window.legacyMain();
|
||||
}
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user