web: fix progress on news + catchup mode
Some checks failed
Continuous integration / Check (push) Has been cancelled
Continuous integration / Test Suite (push) Has been cancelled
Continuous integration / Trunk (push) Has been cancelled
Continuous integration / Rustfmt (push) Has been cancelled
Continuous integration / build (push) Has been cancelled
Continuous integration / Disallow unused dependencies (push) Has been cancelled

This commit is contained in:
Bill Thiede 2025-11-27 10:10:42 -08:00
parent 30b89c2418
commit 26f805738d

View File

@ -123,10 +123,10 @@ pub fn view(model: &Model) -> Node<Msg> {
} => {
if let Some(catchup) = &model.catchup {
catchup_view(
news_post(post, &model.content_el, true, model.read_completion_ratio),
news_post(post, &model.content_el, true, 0.),
&catchup.items,
is_loading,
0.,
model.read_completion_ratio,
)
} else {
normal_view(