master #6

Merged
m.lettere merged 20 commits from master into prod 2023-12-12 15:21:59 +01:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit d374f62ae0 - Show all commits

View File

@ -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);
} }