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 {
thread
total
timestamp
subject
authors

View File

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