open-vault/ui/app/components/replication-secondaries.js
2018-04-03 09:16:57 -05:00

20 lines
404 B
JavaScript

import Ember from 'ember';
const { computed } = Ember;
export default Ember.Component.extend({
cluster: null,
replicationMode: null,
secondaries: null,
onRevoke: Function.prototype,
addRoute: computed('replicationMode', function() {}),
revokeRoute: computed('replicationMode', function() {}),
actions: {
onConfirmRevoke() {
this.get('onRevoke')(...arguments);
},
},
});