parent
d29de96a59
commit
b8bcb8e622
@ -79,7 +79,7 @@ export default class InputQuery extends Component {
|
|||||||
</CardText>
|
</CardText>
|
||||||
<CardActions>
|
<CardActions>
|
||||||
<Button
|
<Button
|
||||||
label='Execute'
|
label='Query'
|
||||||
disabled={ !isValid }
|
disabled={ !isValid }
|
||||||
onClick={ this.onClick } />
|
onClick={ this.onClick } />
|
||||||
</CardActions>
|
</CardActions>
|
||||||
@ -115,7 +115,7 @@ export default class InputQuery extends Component {
|
|||||||
|
|
||||||
renderInput (input) {
|
renderInput (input) {
|
||||||
const { name, type } = input;
|
const { name, type } = input;
|
||||||
const label = `${name}: ${type}`;
|
const label = `${name ? `${name}: ` : ''}${type}`;
|
||||||
|
|
||||||
const onChange = (event) => {
|
const onChange = (event) => {
|
||||||
const value = event.target.value;
|
const value = event.target.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user