mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
list with category use icon in header
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user