Skip to content

Commit b0d2bcf

Browse files
committed
Remove raw format string from download card metadata badges
1 parent 74fe76d commit b0d2bcf

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/lib/components/download/DownloadCard.svelte

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,17 +217,14 @@
217217
<p class="uploader">{download.uploader}</p>
218218
{/if}
219219

220-
{#if download.status === 'COMPLETED' && (formattedDuration || formattedSize || download.format)}
220+
{#if download.status === 'COMPLETED' && (formattedDuration || formattedSize)}
221221
<div class="meta-badges">
222222
{#if formattedDuration}
223223
<span class="meta-badge">{formattedDuration}</span>
224224
{/if}
225225
{#if formattedSize}
226226
<span class="meta-badge">{formattedSize}</span>
227227
{/if}
228-
{#if download.format}
229-
<span class="meta-badge">{download.format}</span>
230-
{/if}
231228
</div>
232229
{/if}
233230

0 commit comments

Comments
 (0)