open-vault/ui/app/routes/vault/cluster/replication/index.js

13 lines
301 B
JavaScript
Raw Normal View History

import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
2018-04-03 14:16:57 +00:00
export default Route.extend({
replicationMode: service(),
2018-04-03 14:16:57 +00:00
beforeModel() {
this.get('replicationMode').setMode(null);
},
model() {
return this.modelFor('vault.cluster.replication');
},
});