Fixed phone # formatting issues. BOD-308

This commit is contained in:
Patrick Fic
2020-09-03 09:18:53 -07:00
parent f3b32fae76
commit 2adb72b25f
4 changed files with 9 additions and 19 deletions

View File

@@ -9,7 +9,10 @@ export function ChatOpenButton({ phone, jobid, openChatByPhone }) {
return (
<MessageFilled
style={{ margin: 4 }}
onClick={() => openChatByPhone({ phone_num: phone, jobid: jobid })}
onClick={(e) => {
e.stopPropagation();
openChatByPhone({ phone_num: phone, jobid: jobid });
}}
/>
);
}