Skip to content

Commit

Permalink
enhance(grapher): only offer Copy link option if appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Oct 11, 2023
1 parent 11a4238 commit bfa323f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export class ShareMenu extends React.Component<ShareMenuProps, ShareMenuState> {
Share via&hellip;
</a>
)}
{true && (
{this.state.canWriteToClipboard && (
<a
title="Copy link to clipboard"
data-track-note="chart_share_copylink"
Expand Down

0 comments on commit bfa323f

Please sign in to comment.