a bit more functional way to group/separate chat list
This commit is contained in:
parent
1f667832f8
commit
cab0e9a881
2 changed files with 37 additions and 67 deletions
|
|
@ -98,13 +98,11 @@ const Chat = {
|
|||
}
|
||||
},
|
||||
chatViewItems() {
|
||||
return chatService.getView(this.currentChatMessageService)
|
||||
return chatService.getView(this.currentChatMessageService?.messages)
|
||||
},
|
||||
newMessageCount() {
|
||||
return (
|
||||
this.currentChatMessageService &&
|
||||
this.currentChatMessageService.newMessageCount
|
||||
)
|
||||
return this.currentChatMessageService?.newMessageCount
|
||||
|
||||
},
|
||||
streamingEnabled() {
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue