open-vault/ui/lib/replication/addon/components/replication-secondaries.js
Matthew Irish 0ccc8467ec
UI ember engines (#6718)
Adds replication engine and core in-repo addon
2019-05-13 14:05:25 -05:00

19 lines
426 B
JavaScript

import Component from '@ember/component';
import { computed } from '@ember/object';
export default 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);
},
},
});