added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import Ember from 'ember';
|
||||
import CheckinByDate from 'flaredown/mixins/checkin-by-date';
|
||||
import moment from 'moment';
|
||||
|
||||
export default Ember.Component.extend(CheckinByDate, {
|
||||
|
||||
model: Ember.computed.alias('parentView.model'),
|
||||
|
||||
actions: {
|
||||
completeStep() {
|
||||
this.routeToCheckinsForDate(moment(new Date()).format("YYYY-MM-DD"));
|
||||
},
|
||||
|
||||
goBack() {
|
||||
this.get('onGoBack')();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user