You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui-v2/app/services/coordinates.js

10 lines
268 B

import Service, { inject as service } from '@ember/service';
import { get } from '@ember/object';
export default Service.extend({
store: service('store'),
findAllByDatacenter: function(dc) {
return get(this, 'store').query('coordinate', { dc: dc });
},
});