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

14 lines
340 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() {
this.get('wizard').set('initEvent', 'UNSEAL');
this.get('wizard').transitionTutorialMachine(this.get('wizard.currentState'), 'TOUNSEAL');
},
});