added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import DS from 'ember-data';
|
||||
import Ember from 'ember';
|
||||
import Topicable from 'flaredown/mixins/topicable';
|
||||
|
||||
const {
|
||||
attr,
|
||||
Model,
|
||||
} = DS;
|
||||
|
||||
const {
|
||||
computed: {
|
||||
alias,
|
||||
},
|
||||
} = Ember;
|
||||
|
||||
export default Model.extend(Topicable, {
|
||||
updatedAt: attr('date'),
|
||||
|
||||
topicsCount: alias('topics.length'),
|
||||
});
|
||||
Reference in New Issue
Block a user