fixed typo

This commit is contained in:
dcore94 2023-10-27 15:48:44 +02:00
parent 28d609a011
commit 07382c94a7
1 changed files with 1 additions and 1 deletions

View File

@ -434,7 +434,7 @@ class D4SStorageTree extends D4SStorageHtmlElement {
if (parentId) {
li.setAttribute(D4SStorageTree.parentid_attr, parentId);
}
const icon = type.includes('FolderItem') || type.inlcudes("SharedFolder")? "folder.svg" : "file-earmark.svg"
const icon = type.includes('FolderItem') || type.includes("SharedFolder")? "folder.svg" : "file-earmark.svg"
li.innerHTML = `
<img class="px-1" src="${this.srcBaseURL}/img/${icon}"</img>
<span>${label}</span>