From 209903e1f12476ceb1ecfee342b0509411dee48e Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Sun, 14 Dec 2025 02:26:19 -0800 Subject: [PATCH] remove contentype badge from media assets card (#7440) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Match Figma by removing contenttype assets badge, which doesn't really serve a good purpose. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7440-remove-contentype-badge-from-media-assets-card-2c86d73d3650818e8d14ed4573d28725) by [Unito](https://www.unito.io) --- src/platform/assets/components/MediaAssetCard.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/platform/assets/components/MediaAssetCard.vue b/src/platform/assets/components/MediaAssetCard.vue index 0d83f9366..67d14b098 100644 --- a/src/platform/assets/components/MediaAssetCard.vue +++ b/src/platform/assets/components/MediaAssetCard.vue @@ -55,7 +55,6 @@ variant="gray" :label="formattedDuration" /> - @@ -266,12 +265,6 @@ const formattedDuration = computed(() => { return formatDuration(Number(duration)) }) -const fileFormat = computed(() => { - if (!asset?.name) return '' - const parts = asset.name.split('.') - return parts.length > 1 ? parts[parts.length - 1].toUpperCase() : '' -}) - const durationChipClasses = computed(() => { if (fileKind.value === 'audio') { return '-translate-y-11' @@ -289,7 +282,7 @@ const showStaticChips = computed( !!asset && !isHovered.value && !isVideoPlaying.value && - (formattedDuration.value || fileFormat.value) + formattedDuration.value ) // Show action overlay when hovered OR playing