diff --git a/web/src/lib.rs b/web/src/lib.rs index 80dd022b..11c655be 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -279,9 +279,15 @@ pub fn Object(object: serde_json::Value) -> impl IntoView { view! {
- - - + {move || if !summary.is_empty() { + view! { + + + + }.into_view() + } else { + view! { }.into_view() + }}
{summary}
{summary.clone()}
{ content.into_iter().map(|x| view! {

{x}

}).collect_view()