web: fix inverted boolean on spam shortcut
This commit is contained in:
parent
48f66c7096
commit
beb96aba14
@ -854,7 +854,7 @@ fn thread(
|
|||||||
IF!(show_icon_text=>span!["Spam"]),
|
IF!(show_icon_text=>span!["Spam"]),
|
||||||
ev(Ev::Click, move |_| Msg::MultiMsg(vec![
|
ev(Ev::Click, move |_| Msg::MultiMsg(vec![
|
||||||
Msg::AddTag(format!("thread:{spam_thread_id}"), "Spam".to_string()),
|
Msg::AddTag(format!("thread:{spam_thread_id}"), "Spam".to_string()),
|
||||||
Msg::SetUnread(format!("thread:{spam_thread_id}"), true)
|
Msg::SetUnread(format!("thread:{spam_thread_id}"), false)
|
||||||
])),
|
])),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user