Skip to content

Commit

Permalink
Disable wincher view link for not logged in users
Browse files Browse the repository at this point in the history
  • Loading branch information
KaisZaoualiWincher committed Apr 3, 2023
1 parent a309ed2 commit b4ee40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js/src/components/WincherPerformanceReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const Row = ( { keyphrase, websiteId, isBlurred } ) => {
</Cell>
<Cell isBlurred={ isBlurred } className="yoast-table--nobreak">
{
<ViewLink href={ viewLinkUrl( { websiteId, id } ) }>
<ViewLink href={ viewLinkUrl( { websiteId, id } ) } style={ { pointerEvents: isBlurred ? "none" : "initial" } }>
{ __( "View", "wordpress-seo" ) }
</ViewLink>
}
Expand Down

0 comments on commit b4ee40d

Please sign in to comment.