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

19 lines
426 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import { computed } from '@ember/object';
2018-04-03 14:16:57 +00:00
export default Component.extend({
2018-04-03 14:16:57 +00:00
cluster: null,
replicationMode: null,
secondaries: null,
onRevoke: Function.prototype,
addRoute: computed('replicationMode', function() {}),
revokeRoute: computed('replicationMode', function() {}),
actions: {
onConfirmRevoke() {
this.get('onRevoke')(...arguments);
},
},
});