mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
This commit is contained in:
parent
6ba9c759e6
commit
b47172974f
@ -272,7 +272,7 @@ class ApiRequest extends Component {
|
||||
onBlur={this.handleBlur}
|
||||
data-test={`header-value-${i}`}
|
||||
type={
|
||||
header.key === 'X-Hasura-Access-Key' &&
|
||||
header.key.toLowerCase() === 'x-hasura-access-key' &&
|
||||
!this.state.accessKeyVisible
|
||||
? 'password'
|
||||
: 'text'
|
||||
@ -281,7 +281,7 @@ class ApiRequest extends Component {
|
||||
</td>
|
||||
{header.isNewHeader ? null : (
|
||||
<td>
|
||||
{header.key === 'X-Hasura-Access-Key' ? (
|
||||
{header.key.toLowerCase() === 'x-hasura-access-key' ? (
|
||||
<i
|
||||
className={styles.showAccessKey + ' fa fa-eye'}
|
||||
data-header-id={i}
|
||||
|
Loading…
Reference in New Issue
Block a user