Added "mediaAPI" labs flag

refs https://github.com/TryGhost/Toolbox/issues/95

- Flat go control the Media API alpha feature
This commit is contained in:
Naz 2021-11-04 10:46:57 +04:00
parent aae6e32494
commit d5c8d02f29
2 changed files with 14 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export default Service.extend({
membersActivity: feature('membersActivity', {developer: true}),
cardSettingsPanel: feature('cardSettingsPanel', {developer: true}),
membersAutoLogin: feature('membersAutoLogin', {developer: true}),
mediaAPI: feature('mediaAPI', {developer: true}),
_user: null,

View File

@ -299,6 +299,19 @@
<GhFeatureFlag @flag="cardSettingsPanel" />
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Media API</h4>
<p class="gh-expandable-description">
Enable media file uploads API
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="mediaAPI" />
</div>
</div>
</div>
</div>
</div>