use title instead of name to avoid uuid appearing as labels
This commit is contained in:
parent
bfea923d4b
commit
d374f62ae0
|
@ -417,10 +417,10 @@ class D4SStorageTree extends D4SStorageHtmlElement {
|
|||
data
|
||||
.filter(item => this.showFiles || item['@class'].includes('FolderItem'))
|
||||
.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 {
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue