fix: stop click propagation on pending device checkbox to prevent modal opening

This commit is contained in:
Pouzor
2026-04-21 11:37:43 +02:00
parent 110592f89e
commit 88554ef952
@@ -395,6 +395,7 @@ function PendingDevicesPanel({ onNodeApproved, highlightId }: { onNodeApproved:
<input
type="checkbox"
checked={checkedIds.has(d.id)}
onClick={(e) => e.stopPropagation()}
onChange={(e) => { e.stopPropagation(); toggleCheck(d.id, e as unknown as React.MouseEvent) }}
className="w-3 h-3 accent-[#00d4ff] cursor-pointer shrink-0"
/>