mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 01:57:21 +00:00
23 lines
622 B
JavaScript
23 lines
622 B
JavaScript
"use strict";
|
|
|
|
define([
|
|
'marionette',
|
|
'Settings/Notifications/AddItemView'
|
|
], function (Marionette, AddItemView) {
|
|
|
|
return Marionette.CompositeView.extend({
|
|
itemView : AddItemView,
|
|
itemViewContainer: '.notifications .items',
|
|
template : 'Settings/Notifications/AddTemplate',
|
|
|
|
itemViewOptions: function () {
|
|
return {
|
|
notificationCollection: this.notificationCollection
|
|
};
|
|
},
|
|
|
|
initialize: function (options) {
|
|
this.notificationCollection = options.notificationCollection;
|
|
}
|
|
});
|
|
});
|