web: use singular version of view_address for From
This commit is contained in:
parent
e0fbb0253e
commit
d66a7d3d53
@ -1039,7 +1039,7 @@ fn view_thread(thread: &ShowThreadQueryThread) -> Node<Msg> {
|
||||
/* TODO(wathiede): collect all the attachments from all the subparts */
|
||||
msg.from
|
||||
.as_ref()
|
||||
.map(|from| div![C!["header"], "From: ", view_addresses(&[from])]),
|
||||
.map(|from| div![C!["header"], "From: ", view_address(&from)]),
|
||||
msg.timestamp
|
||||
.map(|ts| div![C!["header"], "Date: ", human_age(ts)]),
|
||||
IF!(!msg.to.is_empty() => div![C!["header"], "To: ", view_addresses(&msg.to)]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user