Fixed usage of {{enable-developer-experiments}} without sub-expression syntax

This commit is contained in:
Kevin Ansfield 2020-10-09 15:52:23 +01:00
parent a3d3632e97
commit a8f63f9343
3 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@
{{/if}}
</section>
{{#if (or enable-developer-experiments this.config.portal)}}
{{#if (or (enable-developer-experiments) this.config.portal)}}
<section class="bb b--whitegrey pa5">
<div class="flex justify-between">
<div>

View File

@ -64,7 +64,7 @@
<GhErrorMessage @errors={{this.webhook.errors}} @property="targetUrl" data-test-error="webhook-targetUrl" />
</GhFormGroup>
</fieldset>
{{#if enable-developer-experiments}}
{{#if (enable-developer-experiments)}}
<fieldset>
<GhFormGroup @errors={{this.webhook.errors}} @hasValidated={{this.webhook.hasValidated}} @property="secret">
<label for="webhook-secret" class="fw6">Secret</label>

View File

@ -3,7 +3,7 @@
{{section.title}}
</div>
{{#each section.items as |item|}}
{{#if (or (not item.developerExperiment) (and item.developerExperiment enable-developer-experiments))}}
{{#if (or (not item.developerExperiment) (and item.developerExperiment (enable-developer-experiments)))}}
<div class="{{if item.selected "kg-cardmenu-card-selected"}} {{kg-style "cardmenu-card"}}" onclick={{action itemClicked item}} data-kg="cardmenu-card" role="menuitem">
<div class="{{kg-style "cardmenu-icon"}} {{item.iconClass}}" aria-hidden="true">{{svg-jar item.icon class="w8 h8"}}</div>
<div class="{{kg-style "cardmenu-label"}}">{{item.label}}</div>