mirror of
https://github.com/Radarr/Radarr
synced 2026-01-14 19:43:09 +01:00
Indexes are created with the same uniqueness when copying a table New: Non-English episode support New: Renamed Quality Profiles to Profiles and made them more powerful New: Configurable wait time before grabbing a release to wait for a better quality
18 lines
398 B
JavaScript
18 lines
398 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'backbone',
|
|
'Profile/ProfileModel'
|
|
], function (Backbone, ProfileModel) {
|
|
|
|
var ProfileCollection = Backbone.Collection.extend({
|
|
model: ProfileModel,
|
|
url : window.NzbDrone.ApiRoot + '/profile'
|
|
});
|
|
|
|
var profiles = new ProfileCollection();
|
|
|
|
profiles.fetch();
|
|
|
|
return profiles;
|
|
});
|