From 25e02dfed5c3f9b847ee3d478c2bc8681a1fcf81 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Mon, 22 Apr 2024 15:58:43 +0200 Subject: [PATCH] Fixed groups not updating --- application/src/components/participant.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/application/src/components/participant.rs b/application/src/components/participant.rs index b994bff..ef0331c 100644 --- a/application/src/components/participant.rs +++ b/application/src/components/participant.rs @@ -16,8 +16,6 @@ async fn modify_participant( ) -> Result<(), ServerFnError> { let websocket_state = &server::WEBSOCKET_STATE; - println!("Participant: {:?}", participant); - let updated: Option = DB .update(("participant", &id)) .content(&participant) @@ -153,7 +151,13 @@ pub fn Modal() -> impl IntoView { prop:value=name /> -