also save account id when logging in normally

This commit is contained in:
insects 2025-02-07 15:37:17 +01:00
parent 5f516f71f9
commit 1fd7009e25

View file

@ -156,6 +156,7 @@ pub fn main_page(
}; };
let template = html! { let template = html! {
span style="display: none;" id="account-id" { (acc_id) }
.header { .header {
div {} div {}
.side { .side {
@ -207,6 +208,8 @@ pub fn main_page(
div id="list" hx-get="" hx-trigger="every 10s" hx-swap="innerHTML" hx-target="this" hx-on="changeDates" { div id="list" hx-get="" hx-trigger="every 10s" hx-swap="innerHTML" hx-target="this" hx-on="changeDates" {
(list) (list)
} }
script src="/static/scripts/save.js" type="text/javascript" {}
}; };
if only_list { if only_list {