open-vault/ui/app/components/replication-secondaries.js

20 lines
404 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
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);
},
},
});