merge functionality of kiosk + logged in -> allow kiosk to have fördernde people as rower in logbook
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled

This commit is contained in:
2025-07-13 19:49:46 +02:00
parent 51c7cf28f8
commit 837d0febdf
4 changed files with 53 additions and 81 deletions

View File

@ -40,7 +40,7 @@ async fn index(
let allowed_to_edit = AllowedToUpdateBoathouse::new(db, &admin.user)
.await
.is_some();
context.insert("allowed_to_edit", &boathouse);
context.insert("allowed_to_edit", &allowed_to_edit);
context.insert(
"loggedin_user",