master #6
|
@ -417,10 +417,10 @@ class D4SStorageTree extends D4SStorageHtmlElement {
|
||||||
data
|
data
|
||||||
.filter(item => this.showFiles || item['@class'].includes('FolderItem'))
|
.filter(item => this.showFiles || item['@class'].includes('FolderItem'))
|
||||||
.forEach(item => {
|
.forEach(item => {
|
||||||
ul.appendChild(this.createListItem(item.name, item.id, item['@class'], parentId));
|
ul.appendChild(this.createListItem(item.title, item.id, item['@class'], parentId));
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
ul.appendChild(this.createListItem(data.displayName ? data.displayName : data.name, data.id, data['@class'], parentId));
|
ul.appendChild(this.createListItem(data.displayName ? data.displayName : data.title, data.id, data['@class'], parentId));
|
||||||
}
|
}
|
||||||
parentElement.appendChild(ul);
|
parentElement.appendChild(ul);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue