mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 20:42:37 +01:00
24 lines
626 B
JavaScript
24 lines
626 B
JavaScript
'use strict';
|
|
|
|
define([
|
|
'marionette',
|
|
'Settings/Notifications/AddItemView'
|
|
], function (Marionette, AddItemView) {
|
|
|
|
return Marionette.CompositeView.extend({
|
|
itemView : AddItemView,
|
|
itemViewContainer: '.add-notifications .items',
|
|
template : 'Settings/Notifications/AddTemplate',
|
|
|
|
itemViewOptions: function () {
|
|
return {
|
|
notificationCollection: this.notificationCollection
|
|
};
|
|
},
|
|
|
|
initialize: function (options) {
|
|
this.notificationCollection = options.notificationCollection;
|
|
}
|
|
});
|
|
});
|