Skip to content

Commit

Permalink
Fiex isExternal check on PostTeaserCard;
Browse files Browse the repository at this point in the history
  • Loading branch information
stef-coenen committed Nov 16, 2023
1 parent 570a643 commit 4290113
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface PostTeaserCardProps {
const PostTeaserCard: FC<PostTeaserCardProps> = ({ className, odinId, postFile, showSummary }) => {
const { getDotYouClient } = useAuth();
const post = postFile.fileMetadata.appData.content;
const isExternal = odinId !== getDotYouClient().getIdentity();
const isExternal = odinId && odinId !== getDotYouClient().getIdentity();
const navigate = useNavigate();

const { data: externalChannel } = useSocialChannel({
Expand Down

0 comments on commit 4290113

Please sign in to comment.