7c7d626420
* fixes issue removing raft peer via cli not reflected in UI until refresh * adds changelog entry
18 lines
512 B
JavaScript
18 lines
512 B
JavaScript
import Route from '@ember/routing/route';
|
|
import ClusterRoute from 'vault/mixins/cluster-route';
|
|
|
|
export default Route.extend(ClusterRoute, {
|
|
model() {
|
|
// findAll method will return all records in store as well as response from server
|
|
// when removing a peer via the cli, stale records would continue to appear until refresh
|
|
// query method will only return records from response
|
|
return this.store.query('server', {});
|
|
},
|
|
|
|
actions: {
|
|
doRefresh() {
|
|
this.refresh();
|
|
},
|
|
},
|
|
});
|