Commit 14beffbd authored by henrik.prangel's avatar henrik.prangel
Browse files

JUT-51 && JUT-87 Fix bug where reassigned client chat would cause client to talk to bot again

* Fix client being able to talk to the bot after being reassigned
* Fix client not being assigned as "needing support" when reassigned from one institution to another
parent e6457038
......@@ -26,6 +26,7 @@ export const AdditionalContent = (props: IAdditionalContentProp) => {
const updatedChat = {...activeChat}
updatedChat.committedBot = newCommittedBot
updatedChat.committedAdmin = null
updatedChat.needsCustomerService = true
dispatch(updateChat(updatedChat, (result) => {
if (result.status !== 200) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment