mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02: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:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user