chore: clean up sidebar on group panel closed

This commit is contained in:
2026-10-12 21:07:43 +07:00
parent 830917d897
commit 62719f42d9
4 changed files with 24 additions and 26 deletions
+4
View File
@@ -1192,6 +1192,10 @@ impl Panel for GroupPanel {
window.dispatch_action(Box::new(HideGroupMeta { relay, group: id }), cx);
}
}
fn on_removed(&mut self, window: &mut Window, cx: &mut Context<Self>) {
self.set_active(false, window, cx);
}
}
impl EventEmitter<PanelEvent> for GroupPanel {}