1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +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.
</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}