Skip to content

Commit

Permalink
Merge pull request #483 from Tharanidk/getTestKey_hide
Browse files Browse the repository at this point in the history
Hide "Get Test Key" button when token hashing is enabled
  • Loading branch information
Tharanidk authored Jul 14, 2023
2 parents 93c1b64 + 432d379 commit fb6b55a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,8 @@ function TryOutController(props) {
}}
/>
)}
{securitySchemeType !== 'BASIC' && securitySchemeType !== 'TEST' && (
{securitySchemeType !== 'BASIC' && securitySchemeType !== 'TEST'
&& selectedKMObject && !selectedKMObject.enableTokenHashing && (
<>
<Button
onClick={securitySchemeType === 'API-KEY' ? generateApiKey
Expand Down

0 comments on commit fb6b55a

Please sign in to comment.