list with category use icon in header

This commit is contained in:
Yurii
2026-02-02 18:28:27 +02:00
parent 3f108cc0f5
commit 21ca37f41c

View File

@@ -784,6 +784,12 @@ class ListWithCategories extends ListView {
root.classList.add('action');
root.style.userSelect = 'none';
const iconHtml = this.getHeaderIconHtml();
if (iconHtml) {
root.insertAdjacentHTML('afterbegin', iconHtml);
}
/** @type {*[]} */
const list = [root];