open-vault/ui/app/routes/vault/cluster/init.js

15 lines
375 B
JavaScript
Raw Normal View History

2018-08-28 05:03:55 +00:00
import Ember from 'ember';
import ClusterRoute from './cluster-route-base';
const { inject } = Ember;
export default ClusterRoute.extend({
wizard: inject.service(),
activate() {
// always start from idle instead of using the current state
this.get('wizard').transitionTutorialMachine('idle', 'INIT');
this.get('wizard').set('initEvent', 'START');
},
});