diff --git a/frontend/src/components/torrent/details.rs b/frontend/src/components/torrent/details.rs index 88c318a..4fa778d 100644 --- a/frontend/src/components/torrent/details.rs +++ b/frontend/src/components/torrent/details.rs @@ -106,10 +106,22 @@ pub fn TorrentDetailsSheet() -> impl IntoView { - - - "Dosya listesi yakında eklenecek" - + {move || { + if let Some(t) = selected_torrent.get() { + view! { + + + + }.into_any() + } else { + view! { + + + "Dosya yükleniyor..." + + }.into_any() + } + }} diff --git a/frontend/src/components/torrent/mod.rs b/frontend/src/components/torrent/mod.rs index 9cc07e8..cb09710 100644 --- a/frontend/src/components/torrent/mod.rs +++ b/frontend/src/components/torrent/mod.rs @@ -1,3 +1,4 @@ pub mod table; pub mod add_torrent; pub mod details; +pub mod files;
"Dosya listesi yakında eklenecek"
"Dosya yükleniyor..."