mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Fixed usage of {{enable-developer-experiments}} without sub-expression syntax
This commit is contained in:
parent
a3d3632e97
commit
a8f63f9343
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user