0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Added productCard feature flag

refs https://github.com/TryGhost/Team/issues/1233

- flag for the product card development
This commit is contained in:
Thibaut Patel 2021-11-22 11:50:40 +01:00
parent 9139809e9b
commit 98da36ce2a
2 changed files with 14 additions and 0 deletions

View file

@ -68,6 +68,7 @@ export default Service.extend({
fileCard: feature('fileCard', {developer: true}),
audioCard: feature('audioCard', {developer: true}),
videoCard: feature('videoCard', {developer: true}),
productCard: feature('productCard', {developer: true}),
_user: null,

View file

@ -443,6 +443,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Cardmageddon - Product</h4>
<p class="gh-expandable-description">
Card for product recommendation
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="productCard" />
</div>
</div>
</div>
</div>
</div>
{{/if}}