mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Option to prevent backbone from adding new models to a collection (update only)
Prevents upcoming/calendar from blowing up when
This commit is contained in:
parent
517b318b75
commit
9142d1b188
4 changed files with 12 additions and 9 deletions
|
@ -16,7 +16,7 @@ define(
|
|||
|
||||
return Marionette.ItemView.extend({
|
||||
initialize: function () {
|
||||
this.collection = new CalendarCollection().bindSignalR();
|
||||
this.collection = new CalendarCollection().bindSignalR({ updateOnly: true });
|
||||
this.listenTo(this.collection, 'change', this._reloadCalendarEvents);
|
||||
},
|
||||
render : function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue