2017-01-31 07:50:28 +01:00
|
|
|
const MenuSectionModel = require('./menu-section-model');
|
|
|
|
const GroupCollection = require('../../collections/group-collection');
|
2015-10-17 23:49:24 +02:00
|
|
|
|
2017-01-31 07:50:28 +01:00
|
|
|
const GroupsMenuModel = MenuSectionModel.extend({
|
2015-10-17 23:49:24 +02:00
|
|
|
defaults: _.extend({}, MenuSectionModel.prototype.defaults, {
|
|
|
|
scrollable: true,
|
|
|
|
grow: true
|
|
|
|
}),
|
|
|
|
|
2019-08-18 10:17:09 +02:00
|
|
|
initialize() {
|
2015-10-17 23:49:24 +02:00
|
|
|
this.set('items', new GroupCollection());
|
|
|
|
},
|
|
|
|
|
2019-08-18 10:17:09 +02:00
|
|
|
_loadItemCollectionType() {
|
2015-10-17 23:49:24 +02:00
|
|
|
return require('../../collections/group-collection');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = GroupsMenuModel;
|