web: show thread count when greater than 1

This commit is contained in:
Bill Thiede 2023-12-10 15:50:28 -08:00
parent 37eb3d1dfd
commit fae4e43682
2 changed files with 2 additions and 3 deletions

View File

@ -9,6 +9,7 @@ query FrontPageQuery($query: String!, $after: String $before: String, $first: In
} }
nodes { nodes {
thread thread
total
timestamp timestamp
subject subject
authors authors

View File

@ -121,9 +121,7 @@ fn view_search_results(
td![ td![
C!["from"], C!["from"],
pretty_authors(&r.authors), pretty_authors(&r.authors),
// TODO(wathiede): visualize message count if more than one message is in the IF!(r.total>1 => small![" ", r.total.to_string()]),
// thread
//IF!(r.total>1 => small![" ", r.total.to_string()]),
], ],
td![ td![
C!["subject"], C!["subject"],