♻️ (pagetop): Props::unpack() exige &mut Context

This commit is contained in:
Manuel Cillero 2026-09-08 07:28:50 +02:00
parent ee1b48ff3f
commit 8577ca8a59
14 changed files with 280 additions and 190 deletions

View file

@ -88,7 +88,7 @@ impl Crumb {
}
// Renderiza con enlace si tiene ruta, o texto plano en otro caso. Sólo lo usa `Breadcrumb`.
pub(super) fn render_crumb(&self, cx: &Context) -> Markup {
pub(super) fn render_crumb(&self, cx: &mut Context) -> Markup {
let label = self.label().using(cx);
match self.route() {
Some(route) => html! {

View file

@ -85,7 +85,7 @@ impl Column {
// Traduce la etiqueta y, si la columna es ordenable, la envuelve en su enlace con `aria-sort`
// y las clases `table-sort*` ya resueltas por `table::SortLink`. Sólo lo usa `Table` al
// renderizar.
pub(super) fn render_header(&self, cx: &Context) -> Markup {
pub(super) fn render_header(&self, cx: &mut Context) -> Markup {
let label = self.label().using(cx);
let Some(sort) = self.sort() else {