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 {