Fix bool warning for showing webhook events

This commit is contained in:
Brett Sun 2016-02-08 17:53:58 +01:00
parent 8f2a93ff39
commit d5b71ca438
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ let WebhookSettings = React.createClass({
a target url.
</p>
</div>
<AclProxy show={this.state.webhookEvents && this.state.webhookEvents.length}>
<AclProxy show={this.state.webhookEvents && this.state.webhookEvents.length > 0}>
<Form
ref="webhookCreateForm"
url={ApiUrls.webhooks}