From 6106d1cd22fe3c8b04541724120ed27c9f9b421e Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 21 Feb 2026 00:50:26 +0300 Subject: [PATCH] fix(ui): prevent selection checkboxes from opening torrent details sheet --- frontend/src/components/torrent/table.rs | 26 ++++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/torrent/table.rs b/frontend/src/components/torrent/table.rs index bcc9e37..3e78227 100644 --- a/frontend/src/components/torrent/table.rs +++ b/frontend/src/components/torrent/table.rs @@ -597,10 +597,12 @@ fn TorrentRow( on:click=move |_| store.selected_torrent.set(Some(stored_hash.get_value())) > - +
+ +
{move || visible_columns.get().contains("Name").then({ @@ -730,17 +732,23 @@ fn TorrentCard( } ) on:click=move |_| { - let current = is_selected.get(); - on_select.run(!current); store.selected_torrent.set(Some(stored_hash.get_value())); } >
-
-

{t_name.clone()}

+
+
+ +
+
+

{t_name.clone()}

+
- + {format!("{:?}", t.status)}