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

12 lines
331 B
JavaScript
Raw Normal View History

import { inject as service } from '@ember/service';
2018-08-28 05:03:55 +00:00
import ClusterRoute from './cluster-route-base';
export default ClusterRoute.extend({
wizard: service(),
2018-08-28 05:03:55 +00:00
activate() {
this.get('wizard').set('initEvent', 'UNSEAL');
this.get('wizard').transitionTutorialMachine(this.get('wizard.currentState'), 'TOUNSEAL');
},
});