diff --git a/crates/ui2/src/components/list.rs b/crates/ui2/src/components/list.rs index f664bbb547cd2996ca211cd2cc4d644cea875ea4..fa4ec4fd7495a45c14ec8686daabbb12b8b6ae82 100644 --- a/crates/ui2/src/components/list.rs +++ b/crates/ui2/src/components/list.rs @@ -520,13 +520,10 @@ impl ListDetailsEntry { .map(|meta| Label::new(meta).color(LabelColor::Muted)), ) .child( - h_stack().gap_1().justify_end().children( - self.actions - .take() - .unwrap_or_default() - .into_iter() - .map(|action| action), - ), + h_stack() + .gap_1() + .justify_end() + .children(self.actions.take().unwrap_or_default()), ) } }