Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 3c8b8e9

Browse files
authored
show "Copied" indicator when copying an access token (#63936)
For some reason, the indication that the text was copied was removed for secrets. The indication does not show the secret value itself, so I don't see why that change was made. It is helpful to the user to give them feedback that the secret was in fact copied. ## Test plan Click the copy button after creating an access token
1 parent 6f0c135 commit 3c8b8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/web/src/components/CopyableText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class CopyableText extends React.PureComponent<Props, State> {
7777
aria-label="Copy"
7878
>
7979
<Icon aria-hidden={true} svgPath={mdiContentCopy} />{' '}
80-
{this.props.secret ? '' : this.state.copied ? 'Copied' : 'Copy'}
80+
{this.state.copied ? 'Copied' : 'Copy'}
8181
</Button>
8282
</div>
8383
{this.props.secret && (

0 commit comments

Comments
 (0)