open-vault/ui/app/routes/vault/cluster/replication-dr-promote.js

11 lines
258 B
JavaScript
Raw Normal View History

import { inject as service } from '@ember/service';
2018-04-03 14:16:57 +00:00
import Base from './cluster-route-base';
export default Base.extend({
replicationMode: service(),
2018-04-03 14:16:57 +00:00
beforeModel() {
this._super(...arguments);
this.get('replicationMode').setMode('dr');
},
});