mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Cleaned up productCard
labs flag
refs https://github.com/TryGhost/Team/issues/1258 - removed labs flag and conditionals
This commit is contained in:
parent
aeb0cb60e8
commit
b8b40fafef
3 changed files with 1 additions and 16 deletions
|
@ -57,7 +57,6 @@ export default Service.extend({
|
||||||
filesAPI: feature('filesAPI'),
|
filesAPI: feature('filesAPI'),
|
||||||
fileCard: feature('fileCard'),
|
fileCard: feature('fileCard'),
|
||||||
audioCard: feature('audioCard'),
|
audioCard: feature('audioCard'),
|
||||||
productCard: feature('productCard'),
|
|
||||||
beforeAfterCard: feature('beforeAfterCard'),
|
beforeAfterCard: feature('beforeAfterCard'),
|
||||||
richTwitterNewsletters: feature('richTwitterNewsletters'),
|
richTwitterNewsletters: feature('richTwitterNewsletters'),
|
||||||
tweetGridCard: feature('tweetGridCard'),
|
tweetGridCard: feature('tweetGridCard'),
|
||||||
|
|
|
@ -365,19 +365,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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 class="gh-expandable-block">
|
<div class="gh-expandable-block">
|
||||||
<div class="gh-expandable-header">
|
<div class="gh-expandable-header">
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -246,8 +246,7 @@ export const CARD_MENU = [
|
||||||
desc: 'Add a product recommendation',
|
desc: 'Add a product recommendation',
|
||||||
matches: ['product'],
|
matches: ['product'],
|
||||||
type: 'card',
|
type: 'card',
|
||||||
replaceArg: 'product',
|
replaceArg: 'product'
|
||||||
isAvailable: 'feature.productCard'
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Before/After',
|
label: 'Before/After',
|
||||||
|
|
Loading…
Add table
Reference in a new issue