mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
💡Removed Public API checkbox by default (#1096)
refs #10364 When the publicAPI flag is undefined, it means it has never been set in Ghost Admin before - so we can safely remove the option from labs.
This commit is contained in:
parent
d7375aab1a
commit
22a41f5663
1 changed files with 10 additions and 8 deletions
|
@ -82,15 +82,17 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="gh-setting-header">Beta features</div>
|
<div class="gh-setting-header">Beta features</div>
|
||||||
<div class="gh-setting">
|
{{#if (not-eq feature.labs.publicAPI undefined)}}
|
||||||
<div class="gh-setting-content">
|
<div class="gh-setting">
|
||||||
<div class="gh-setting-title">Public API</div>
|
<div class="gh-setting-content">
|
||||||
<div class="gh-setting-desc">For full instructions, read the <a href="https://help.ghost.org/hc/en-us/articles/115000301672-Public-API-Beta">developer guide</a></div>
|
<div class="gh-setting-title">Public API (deprecated)</div>
|
||||||
|
<div class="gh-setting-desc">⚠️ Please use the Content API instead, more info in <a href="https://docs.ghost.org/api/content/">the docs</a></div>
|
||||||
|
</div>
|
||||||
|
<div class="gh-setting-action">
|
||||||
|
<div class="for-checkbox">{{gh-feature-flag "publicAPI"}}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="gh-setting-action">
|
{{/if}}
|
||||||
<div class="for-checkbox">{{gh-feature-flag "publicAPI"}}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="gh-setting">
|
<div class="gh-setting">
|
||||||
<div class="gh-setting-content">
|
<div class="gh-setting-content">
|
||||||
<div class="gh-setting-title">Night shift</div>
|
<div class="gh-setting-title">Night shift</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue