Skip to content

Commit

Permalink
Merge pull request #259 from Azure-Samples/fuyan/fix-logic-video-off
Browse files Browse the repository at this point in the history
Fix logic when video off and user can turn on video
  • Loading branch information
fuyan2024 authored Feb 6, 2025
2 parents 897e462 + 140575b commit 67ab825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Project/src/MakeCall/CallCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ export default class CallCard extends React.Component {
<Icon iconName="Video" />
}
{
(this.state.canOnVideo || !this.state.videoOn) &&
(this.state.canOnVideo && !this.state.videoOn) &&
<Icon iconName="VideoOff2" />
}
{
Expand Down

0 comments on commit 67ab825

Please sign in to comment.