diff --git a/meli/src/notifications.rs b/meli/src/notifications.rs index ef36f94b..8ed843c3 100644 --- a/meli/src/notifications.rs +++ b/meli/src/notifications.rs @@ -266,7 +266,11 @@ impl Component for NotificationCommand { .spawn() { Ok(child) => { - context.children.push(child); + context + .children + .entry(stringify!(NotificationCommand).into()) + .or_default() + .push(child); return false; } Err(err) => {