fix: no new msg notifications after opening chat modal [NATIVE]
call TOGGLE_CHAT action when chat modal is closed to correctly update chat isOpen state
This commit is contained in:
parent
1c3cf325cb
commit
4161e7bfe1
|
@ -32,7 +32,9 @@ class Chat extends AbstractChat<Props> {
|
||||||
headerProps = {{
|
headerProps = {{
|
||||||
headerLabelKey: 'chat.title'
|
headerLabelKey: 'chat.title'
|
||||||
}}
|
}}
|
||||||
modalId = { CHAT_VIEW_MODAL_ID }>
|
modalId = { CHAT_VIEW_MODAL_ID }
|
||||||
|
onClose = { this.props._onToggleChat }>
|
||||||
|
|
||||||
<MessageContainer messages = { this.props._messages } />
|
<MessageContainer messages = { this.props._messages } />
|
||||||
<MessageRecipient />
|
<MessageRecipient />
|
||||||
<ChatInputBar onSend = { this.props._onSendMessage } />
|
<ChatInputBar onSend = { this.props._onSendMessage } />
|
||||||
|
|
Loading…
Reference in New Issue