chore: clean up current dock when logout
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user