Skip to content

Commit feaf211

Browse files
committed
fix(connection-monitor): render pin button lucide icon
1 parent 74a2c5c commit feaf211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/modules/connection_monitor/static/js/connection-monitor-detail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
pinIcon.style.cssText = 'width:12px;height:12px;';
8080
btn.appendChild(pinIcon);
8181
btn.appendChild(document.createTextNode('Pin this day'));
82-
if (window.lucide) lucide.createIcons({nameAttr: 'data-lucide', nodes: [btn]});
8382
btn.onclick = function() {
8483
var ts = Math.floor(Date.now() / 1000);
8584
fetch('/api/connection-monitor/pinned-days', {
@@ -91,6 +90,7 @@
9190
});
9291
};
9392
parent.appendChild(btn);
93+
if (window.lucide) window.lucide.createIcons({nameAttr: 'data-lucide', root: btn});
9494
}
9595

9696
// --- Pinned Days Bar ---

0 commit comments

Comments
 (0)