From 56cd6e32e9ca7b6f80784489737c8bbf4cb087c7 Mon Sep 17 00:00:00 2001 From: Simon Bernier St-Pierre Date: Fri, 7 Aug 2026 22:46:53 -0400 Subject: [PATCH] hx boost + bug fix --- src/views.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views.rs b/src/views.rs index 5121cb8..88c77ae 100644 --- a/src/views.rs +++ b/src/views.rs @@ -1103,7 +1103,7 @@ pub fn live_list_fragments( ) -> Markup { let editable = list.archived_at.is_none(); html! { - (list_content_fragment(list, items, categories, csrf_token, true, editable)) + (list_items_fragment(list, items, categories, csrf_token, true, editable)) (list_meals_panel(list_meals, list.id, csrf_token, true, editable)) } } @@ -1296,7 +1296,7 @@ fn page(title: &str, user: Option<&User>, content: Markup) -> Markup { script src="https://unpkg.com/htmx.org@2.0.4" {} script src="https://unpkg.com/htmx-ext-ws@2.0.2/ws.js" {} } - body { + body hx-boost="true" { header class="site-header" { a class="brand" href="/lists" { span class="brand-mark" { "S" } "Sustenance" } @if let Some(user) = user {