mirror of https://github.com/rancher/ui.git
13 lines
345 B
JavaScript
13 lines
345 B
JavaScript
import Ember from 'ember';
|
|
import ApplicationsTabRoute from 'ui/applications-tab/route';
|
|
|
|
export default ApplicationsTabRoute.extend({
|
|
projects: Ember.inject.service(),
|
|
|
|
beforeModel() {
|
|
this._super(...arguments);
|
|
var auth = this.modelFor('authenticated');
|
|
return this.get('projects').checkForWaiting(auth.get('hosts'));
|
|
},
|
|
});
|