Skip to content

Commit

Permalink
Merge pull request #21663 from AmjedNazzal/Issue21195
Browse files Browse the repository at this point in the history
Fix - Web - site preview is still visible after flag as intimidation #21195
  • Loading branch information
pecanoro authored Jun 29, 2023
2 parents 6cf8417 + 018e237 commit 1dc2023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function ReportActionItem(props) {
return (
<>
{children}
{!_.isEmpty(props.action.linkMetadata) && (
{!isHidden && !_.isEmpty(props.action.linkMetadata) && (
<View style={props.draftMessage ? styles.chatItemReactionsDraftRight : {}}>
<LinkPreviewer linkMetadata={_.filter(props.action.linkMetadata, (item) => !_.isEmpty(item))} />
</View>
Expand Down

0 comments on commit 1dc2023

Please sign in to comment.