Replace Execute by Query in contract button (#3015) (#3031)

This commit is contained in:
Nicolas Gotchac 2016-10-31 23:28:26 +01:00 committed by Jaco Greeff
parent d29de96a59
commit b8bcb8e622

View File

@ -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;