Login and Showing of all Users implemented

At /login and /users
This commit is contained in:
2026-04-29 20:41:31 +02:00
parent aa1c11047e
commit 6dfa21a005
3 changed files with 150 additions and 3 deletions

View File

@@ -156,8 +156,8 @@ pub fn submit_ticket_component() -> Html {
}
}
#[component(ShowTicketByID)]
pub fn show_ticket_by_id_component(props: &TicketProps) -> Html {
#[component(TicketByID)]
pub fn ticket_by_id_component(props: &TicketProps) -> Html {
let ticket = use_state(|| None::<Ticket>);
let error = use_state(|| None::<String>);
let loading = use_state(|| false);