The actions buttons for end-call and put-on-hold are shown both in the agent view and in the supervisor (teams) view. Besides not functioning in the teams view, they also imply that the supervisor can end calls. That's not true.
This PR adds the flex.view props to the ParticpantActionsButtons component and checks if currentView is not teams. If it is, we don't render them.
Tested successfully for me. Compared with native Flex UI experience for Team View and it appears identical. Approving the PR and merging with master branch.
The actions buttons for end-call and put-on-hold are shown both in the agent view and in the supervisor (teams) view. Besides not functioning in the teams view, they also imply that the supervisor can end calls. That's not true.
This PR adds the
flex.view
props to theParticpantActionsButtons
component and checks ifcurrentView
is not teams. If it is, we don't render them.