mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-01 07:55:22 +02:00
use clone so that we only detect empty collection
when collectio is empty.. not when current filter is empty but collectionis not
This commit is contained in:
@@ -137,9 +137,14 @@ module.exports = Marionette.Layout.extend({
|
||||
|
||||
initialize : function() {
|
||||
//this variable prevents us from showing the list before seriesCollection has been fetched the first time
|
||||
this.seriesCollection = MoviesCollection;//.clone();
|
||||
this.seriesCollection = MoviesCollection.clone();
|
||||
this.seriesCollection.bindSignalR();
|
||||
|
||||
|
||||
//this.listenTo(MoviesCollection, 'sync', function() {
|
||||
// this.seriesCollection.fetch();
|
||||
//});
|
||||
|
||||
this.listenTo(FullMovieCollection, 'sync', function() {
|
||||
this._showFooter();
|
||||
});
|
||||
|
Reference in New Issue
Block a user