🐛 (user): Corrige altas simultáneas y roles sistema

This commit is contained in:
Manuel Cillero 2026-11-02 19:02:04 +01:00
parent 574010374d
commit 9afbafdefb
12 changed files with 134 additions and 63 deletions

View file

@ -217,13 +217,13 @@ impl RoleTable {
// rol. Devuelve un componente `Html` para que el marcado se genere cuando `Table` renderice la
// celda, no al construir la fila.
fn label_cell(role: &RoleListItem, waypoint: &Waypoint) -> Html {
let label = role.label.clone();
let label = crate::role_label(role.id, &role.label);
let id = role.id;
let waypoint = waypoint.clone();
Html::with(move |cx| {
let view_href = waypoint.append_to(cx.route(role_path(id, "view")));
html! {
a href=(view_href) { (label.as_str()) }
a href=(view_href) { (label.using(cx)) }
}
})
}