added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import Ember from 'ember';
|
||||
import StepControl from 'flaredown/mixins/step-control';
|
||||
|
||||
const {
|
||||
computed: {
|
||||
alias,
|
||||
equal,
|
||||
},
|
||||
} = Ember;
|
||||
|
||||
export default Ember.Component.extend(StepControl, {
|
||||
classNames: ['checkin-summary'],
|
||||
routeAfterCompleted: 'chart',
|
||||
|
||||
checkin: alias('model.checkin'),
|
||||
stepName: alias('step.stepName'),
|
||||
|
||||
isStart: equal('stepName', 'start'),
|
||||
isSummary: equal('stepName', 'summary'),
|
||||
isSymptoms: equal('stepName', 'symptoms'),
|
||||
isConditions: equal('stepName', 'conditions'),
|
||||
isTreatments: equal('stepName', 'treatments'),
|
||||
isHeathFactors: equal('stepName', 'health_factors'),
|
||||
isHarveyBradshawIndex: equal('stepName', 'harvey_bradshaw'),
|
||||
isPromotionRate: equal('stepName', 'promotion_rate'),
|
||||
});
|
||||
Reference in New Issue
Block a user