1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

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

View File

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