mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
much smarter handling of series collection rendering.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'Series/SeriesModel'
|
||||
], function (Backbone, SeriesModel) {
|
||||
return Backbone.Collection.extend({
|
||||
var collection = Backbone.Collection.extend({
|
||||
url : window.ApiRoot + '/series',
|
||||
model: SeriesModel,
|
||||
|
||||
@@ -17,4 +17,6 @@ define(
|
||||
order : -1
|
||||
}
|
||||
});
|
||||
|
||||
return new collection();
|
||||
});
|
||||
|
Reference in New Issue
Block a user