web: show thread count when greater than 1
This commit is contained in:
parent
37eb3d1dfd
commit
fae4e43682
@ -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
|
||||||
|
|||||||
@ -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"],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user