Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Replace Execute by Query in contract button (#3015) (#3031)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngotchac authored and jacogr committed Oct 31, 2016
1 parent d29de96 commit b8bcb8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/views/Contract/Queries/inputQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class InputQuery extends Component {
</CardText>
<CardActions>
<Button
label='Execute'
label='Query'
disabled={ !isValid }
onClick={ this.onClick } />
</CardActions>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b8bcb8e

Please sign in to comment.