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:
parent
8f2a93ff39
commit
d5b71ca438
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user