mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 17:43:49 -07:00
UI Cleanup - Updated Shared and Shims subtrees.
This commit is contained in:
parent
019525dd9d
commit
d6079a701c
39 changed files with 686 additions and 448 deletions
|
@ -5,12 +5,13 @@ var FileBrowserModel = require('./FileBrowserModel');
|
|||
module.exports = Backbone.Collection.extend({
|
||||
model : FileBrowserModel,
|
||||
url : window.NzbDrone.ApiRoot + '/filesystem',
|
||||
parse : function(response){
|
||||
|
||||
parse : function(response) {
|
||||
var contents = [];
|
||||
if(response.parent || response.parent === '') {
|
||||
if (response.parent || response.parent === '') {
|
||||
var type = 'parent';
|
||||
var name = '...';
|
||||
if(response.parent === '') {
|
||||
if (response.parent === '') {
|
||||
type = 'computer';
|
||||
name = 'My Computer';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue