Show cohorts on the new instructor dashboard
TNL-161 Remove placeholder text
This commit is contained in:
11
lms/static/js/models/cohort.js
Normal file
11
lms/static/js/models/cohort.js
Normal file
@@ -0,0 +1,11 @@
|
||||
(function(Backbone) {
|
||||
var CohortModel = Backbone.Model.extend({
|
||||
idAttribute: 'id',
|
||||
defaults: {
|
||||
name: '',
|
||||
user_count: 0
|
||||
}
|
||||
});
|
||||
|
||||
this.CohortModel = CohortModel;
|
||||
}).call(this, Backbone);
|
||||
Reference in New Issue
Block a user