added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Service.extend({
|
||||
store: Ember.inject.service(),
|
||||
|
||||
countries: Ember.computed(function() {
|
||||
return this.get('store').findAll('country');
|
||||
}),
|
||||
|
||||
sexes: Ember.computed.sort('unsortedSexes', 'sexSorting'),
|
||||
sexSorting: ['rank'],
|
||||
unsortedSexes: Ember.computed(function() {
|
||||
return this.get('store').findAll('sex');
|
||||
}),
|
||||
|
||||
conditions: Ember.computed(function() {
|
||||
return this.get('store').findAll('condition');
|
||||
}),
|
||||
|
||||
symptoms: Ember.computed(function() {
|
||||
return this.get('store').findAll('symptom');
|
||||
}),
|
||||
|
||||
treatments: Ember.computed(function() {
|
||||
return this.get('store').findAll('treatment');
|
||||
})
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user