Cleaned up nftCard labs flag

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

- removed labs flag and conditionals
This commit is contained in:
Kevin Ansfield 2022-01-04 12:54:37 +00:00
parent 13d3d3ab14
commit 0fcf89b1fa
3 changed files with 1 additions and 16 deletions

View File

@ -56,7 +56,6 @@ export default Service.extend({
mediaAPI: feature('mediaAPI'),
filesAPI: feature('filesAPI'),
calloutCard: feature('calloutCard'),
nftCard: feature('nftCard'),
accordionCard: feature('accordionCard'),
fileCard: feature('fileCard'),
audioCard: feature('audioCard'),

View File

@ -339,19 +339,6 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Cardmageddon - NFT (Opensea embed)</h4>
<p class="gh-expandable-description">
Embed NFT cards directly in post content
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="nftCard" />
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>

View File

@ -350,8 +350,7 @@ export const CARD_MENU = [
matches: ['nft', 'opensea'],
type: 'card',
replaceArg: 'embed',
params: ['url'],
isAvailable: 'feature.nftCard'
params: ['url']
},
{
label: 'Other...',