Copy to clipboard button copies wrong information

Summary

There are 2 copy to clipboard buttons found in the User Settings > Applications > MyGitLabOAuthApp page. One for Application ID and one for Secret. Both of the buttons copy the Application ID to the clipboard.

Steps to reproduce

Click the 2 copy to clipboard buttons found in the User Settings > Applications > MyGitLabOAuthApp page and notice that both of them copy the same thing to the clipboard.

The bug can be reproduced on gitlab.com

What is the current bug behavior?

The copy to clipboard button for the Secret label copies the Application ID to the clipboard.

What is the expected correct behavior?

The copy to clipboard button for the Secret label should copy the Secret to the clipboard.

Relevant logs and/or screenshots

bug

Edited Oct 10, 2018 by G T
Assignee Loading
Time tracking Loading