Fix most tests for new chat changes
This commit is contained in:
parent
3bc7024f8b
commit
db8096ccdc
4 changed files with 36 additions and 12 deletions
|
@ -181,6 +181,10 @@ impl ChatPanel {
|
|||
})
|
||||
}
|
||||
|
||||
pub fn active_chat(&self) -> Option<ModelHandle<ChannelChat>> {
|
||||
self.active_chat.as_ref().map(|(chat, _)| chat.clone())
|
||||
}
|
||||
|
||||
pub fn load(
|
||||
workspace: WeakViewHandle<Workspace>,
|
||||
cx: AsyncAppContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue