Refactor Lucide icon rendering by replacing nodes with root across components and fix unintended character encoding issues in placeholders and text.
This commit is contained in:
@@ -71,7 +71,7 @@ class EquipmentForm extends HTMLElement {
|
||||
<button class="btn-primary" id="dlg-save">${isEdit ? 'Save Changes' : 'Add Equipment'}</button>
|
||||
</div>`;
|
||||
|
||||
if (window.lucide) lucide.createIcons({ nodes: [d] });
|
||||
if (window.lucide) lucide.createIcons({ root: d });
|
||||
d.querySelector('#dlg-close').addEventListener('click', () => d.close());
|
||||
d.querySelector('#dlg-cancel').addEventListener('click', () => d.close());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user