Skip to content

Commit

Permalink
Disable 'copy to clipboard' while share url being generated (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkxie authored Jan 6, 2021
1 parent e850c46 commit 68a8e9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions products/jbrowse-web/src/ShareButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ const ShareDialog = observer(
}}
color="primary"
startIcon={<ContentCopyIcon />}
disabled={currentSetting === 'short' && loading}
>
Copy URL to Clipboard
</Button>
Expand Down

0 comments on commit 68a8e9e

Please sign in to comment.