diff --git a/frontend/app/components/Assist/components/AssistActions/AassistActions.css b/frontend/app/components/Assist/components/AssistActions/AassistActions.css index aacce0805..303d70241 100644 --- a/frontend/app/components/Assist/components/AssistActions/AassistActions.css +++ b/frontend/app/components/Assist/components/AssistActions/AassistActions.css @@ -1,3 +1,6 @@ -.btn { - +.inCall { + & svg { + fill: $red + } + color: $red; } \ No newline at end of file diff --git a/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx b/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx index 728738f06..262a4fc86 100644 --- a/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx +++ b/frontend/app/components/Assist/components/AssistActions/AssistActions.tsx @@ -8,6 +8,8 @@ import ChatWindow from '../../ChatWindow'; import { callPeer } from 'Player' import { CallingState, ConnectionStatus } from 'Player/MessageDistributor/managers/AssistManager'; import { toast } from 'react-toastify'; +import stl from './AassistActions.css' + interface Props { userId: String, toggleChatWindow: (state) => void, @@ -37,6 +39,8 @@ function AssistActions({ toggleChatWindow, userId, calling, peerConnectionStatus toast.error(`Something went wrong!`); } + console.log('peerConnectionStatus', peerConnectionStatus) + function call() { navigator.mediaDevices.getUserMedia({video:true, audio:true}) .then(lStream => { @@ -58,7 +62,7 @@ function AssistActions({ toggleChatWindow, userId, calling, peerConnectionStatus @@ -67,7 +71,7 @@ function AssistActions({ toggleChatWindow, userId, calling, peerConnectionStatus size="20" color={ inCall ? "red" : "gray-darkest" } /> - { inCall ? 'End Meeting' : 'Start Meeting' } + { inCall ? 'End Meeting' : 'Start Meeting' } } content={ `Call ${userId}` }