2018-09-25 16:28:26 +00:00
|
|
|
import Component from '@ember/component';
|
|
|
|
import { computed } from '@ember/object';
|
2018-04-03 14:16:57 +00:00
|
|
|
|
2018-09-25 16:28:26 +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);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|