In document-tree-item.element.ts and Also Media the overlay Icons are hard coded in the tree item element itself, I was hoping that you can extend that with manifest conditions (need id for a certain medie protect package ;-)) Not hoping that I have to replace the eintire tree to achieve that?
The overlay icons are Set in the element like this
Copy code
#renderStateIcon() {
if (this.item?.isProtected) {
return this.#renderIsProtectedIcon();
}
if (this.item?.documentType.collection) {
return this.#renderIsCollectionIcon();
}
return nothing;
}