mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
UI Cleanup - Updated Navbar, Profile, Quality and Release subtrees.
This commit is contained in:
parent
29d9e3dadf
commit
860f55996c
10 changed files with 217 additions and 146 deletions
|
@ -1,12 +1,13 @@
|
|||
var Backbone = require('backbone');
|
||||
var ProfileModel = require('./ProfileModel');
|
||||
|
||||
module.exports = (function(){
|
||||
var ProfileCollection = Backbone.Collection.extend({
|
||||
model : ProfileModel,
|
||||
url : window.NzbDrone.ApiRoot + '/profile'
|
||||
});
|
||||
var profiles = new ProfileCollection();
|
||||
profiles.fetch();
|
||||
return profiles;
|
||||
}).call(this);
|
||||
var ProfileCollection = Backbone.Collection.extend({
|
||||
model : ProfileModel,
|
||||
url : window.NzbDrone.ApiRoot + '/profile'
|
||||
});
|
||||
|
||||
var profiles = new ProfileCollection();
|
||||
|
||||
profiles.fetch();
|
||||
|
||||
module.exports = profiles;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue