continue layout, add button to close chat page
This commit is contained in:
@@ -25,6 +25,10 @@ export default class ChatViewModel {
|
||||
this.chatListViewModel.openChat(this);
|
||||
}
|
||||
|
||||
close = () => {
|
||||
this.chatListViewModel.closeChat();
|
||||
}
|
||||
|
||||
// init
|
||||
constructor(chatListViewModel: ChatListViewModel, chatModel: ChatModel) {
|
||||
this.chatModel = chatModel;
|
||||
|
||||
Reference in New Issue
Block a user