chore: clean up current dock when logout

This commit is contained in:
2025-05-03 08:39:17 +07:00
parent 8c211be11a
commit 3bd8592f86
2 changed files with 9 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ impl ChatSpace {
let center = DockItem::panel(panel);
self.dock.update(cx, |this, cx| {
this.reset(window, cx);
this.set_center(center, window, cx);
});
}