web: change exit catchup behavior to view current message
This commit is contained in:
@@ -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![
|
||||
|
||||
Reference in New Issue
Block a user