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>
<CardActions>
<Button
label='Execute'
label='Query'
disabled={ !isValid }
onClick={ this.onClick } />
</CardActions>
@ -115,7 +115,7 @@ export default class InputQuery extends Component {
renderInput (input) {
const { name, type } = input;
const label = `${name}: ${type}`;
const label = `${name ? `${name}: ` : ''}${type}`;
const onChange = (event) => {
const value = event.target.value;