Skip to content

Commit 4da1874

Browse files
committed
frontend/GroupingModal: fix device selection toggle
1 parent acf6a68 commit 4da1874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/device/GroupingModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ export function GroupingModal({
301301
<ListGroup.Item
302302
key={device.id}
303303
action
304-
active={selectedDevices.has(device.id)}
305304
onClick={(e: Event) => {
306305
e.preventDefault();
306+
handleDeviceToggle(device.id);
307307
}}
308308
style={{ cursor: "pointer" }}
309309
>
@@ -315,7 +315,7 @@ export function GroupingModal({
315315
handleDeviceToggle(device.id);
316316
}}
317317
label={
318-
<div>
318+
<div style={{ cursor: "pointer" }}>
319319
<strong>{device.name}</strong>
320320
<span className="text-muted ms-2">
321321
({Base58.int_to_base58(device.uid)})

0 commit comments

Comments
 (0)