open-vault/ui/app/routes/vault/cluster/unseal.js
2018-08-28 00:03:55 -05:00

14 lines
340 B
JavaScript

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');
},
});