Merge pull request #17947 from ramonlsouza/issue-17945

fix: The indicator for disabled self view should hide on webcam unshare
This commit is contained in:
Anton Georgiev 2023-05-24 14:39:48 -04:00 committed by GitHub
commit a20d82dbbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,7 @@ const VideoListItem = (props) => {
>
<Styled.VideoContainer>
{isSelfViewDisabled && user.userId === Auth.userID && (
{isStream && isSelfViewDisabled && user.userId === Auth.userID && (
<Styled.VideoDisabled>
{intl.formatMessage(intlMessages.disableDesc)}
</Styled.VideoDisabled>