web: change exit catchup behavior to view current message

This commit is contained in:
2025-02-24 14:55:51 -08:00
parent 1452746305
commit 9346c46e62
2 changed files with 8 additions and 4 deletions

View File

@@ -193,7 +193,7 @@ fn catchup_view(
div![
C!["absolute", "right-4", "text-gray-500"],
span![i![C!["fas", "fa-x"]]],
ev(Ev::Click, move |_| Msg::GoToSearchResults)
ev(Ev::Click, move |_| Msg::CatchupExit)
],
h1![
C!["text-center"],
@@ -449,7 +449,7 @@ fn search_toolbar(
attrs! {At::Title => "Mark as read"},
span![i![C!["far", "fa-eye"]]],
span![C!["pl-2", "hidden", "md:inline"], "Catch-up"],
ev(Ev::Click, |_| Msg::StartCatchup)
ev(Ev::Click, |_| Msg::CatchupStart)
]],
],
div![