web: update copy icon in more places

This commit is contained in:
Bill Thiede 2024-07-24 11:06:38 -07:00
parent cd77d302df
commit c76df0ef90

View File

@ -522,7 +522,7 @@ fn render_open_header(msg: &ShowThreadQueryThreadMessages) -> Node<Msg> {
&from_detail, &from_detail,
" ", " ",
from_detail.map(|detail| span![ from_detail.map(|detail| span![
i![C!["far", "fa-copy"]], i![C!["far", "fa-clone"]],
ev(Ev::Click, move |e| { ev(Ev::Click, move |e| {
e.stop_propagation(); e.stop_propagation();
Msg::CopyToClipboard(detail.to_string()) Msg::CopyToClipboard(detail.to_string())
@ -593,7 +593,7 @@ fn render_open_header(msg: &ShowThreadQueryThreadMessages) -> Node<Msg> {
span![ span![
&cc, " ", &cc, " ",
span![ span![
i![C!["far", "fa-copy"]], i![C!["far", "fa-clone"]],
ev(Ev::Click, move |e| { ev(Ev::Click, move |e| {
e.stop_propagation(); e.stop_propagation();
Msg::CopyToClipboard(cc) Msg::CopyToClipboard(cc)