diff --git a/frontend/src/components/torrent/table.rs b/frontend/src/components/torrent/table.rs index 26e63fc..50d6490 100644 --- a/frontend/src/components/torrent/table.rs +++ b/frontend/src/components/torrent/table.rs @@ -15,6 +15,7 @@ use crate::components::ui::empty::*; use crate::components::ui::input::Input; use crate::components::ui::multi_select::*; use crate::components::ui::dropdown_menu::*; +use crate::components::ui::progress::Progress; use crate::components::ui::alert_dialog::{ AlertDialog, AlertDialogBody, @@ -619,12 +620,14 @@ fn TorrentRow( {move || visible_columns.get().contains("Progress").then({ let percent = t.percent_complete; + let status = t.status.clone(); move || view! {
-
-
-
+ div]:bg-destructive".to_string() } else { "bg-secondary w-32".to_string() } + /> {format!("{:.1}%", percent)}
@@ -750,9 +753,10 @@ fn TorrentCard( {format!("{:.1}%", t.percent_complete)} -
-
-
+ div]:bg-destructive".to_string() } else { "".to_string() } + />