mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 10:00:07 +00:00
17 lines
411 B
JavaScript
17 lines
411 B
JavaScript
![]() |
import Ember from 'ember';
|
||
|
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
||
|
|
||
|
export default Ember.Route.extend(AuthenticatedRouteMixin, {
|
||
|
init() {
|
||
|
this._super(...arguments);
|
||
|
|
||
|
Ember.run.scheduleOnce('afterRender', null, () => {
|
||
|
Ember.$('#dashboardtabs a:first').tab('show');
|
||
|
});
|
||
|
},
|
||
|
|
||
|
redirect() {
|
||
|
this.transitionTo('datasets.page', 1);
|
||
|
}
|
||
|
});
|