[pdm-devel] [PATCH yew-comp v2 1/1] tasks: add loading animation for running tasks

Dietmar Maurer dietmar at proxmox.com
Thu Mar 20 12:03:43 CET 2025


> +                    .render(|item: &TaskListItem| match item.status.as_deref() {
> +                        Some("" | "RUNNING") | None => Row::new()
> +                            .class(JustifyContent::Center)
> +                            .with_child(Fa::new("").class("pwt-loading-icon"))
> +                            .into(),
> +                        Some(text) => html! {text},

applied with the following change:

> -                        Some("" | "RUNNING") | None => Row::new()
> +                        Some("RUNNING") | None => Row::new()




More information about the pdm-devel mailing list