Skip to content

A self-hosted media server and file management system

fix: title on video card when codec and resolution are combined is missing

aminnausind569e70937e9
diff --git a/resources/js/components/cards/VideoCard.vue b/resources/js/components/cards/VideoCard.vue
index d3a80aff..85276cbd 100755
--- a/resources/js/components/cards/VideoCard.vue
+++ b/resources/js/components/cards/VideoCard.vue
@@ -109,7 +109,7 @@ watch(
<h4 class="text-nowrap text-start" v-if="isAudio && data?.metadata?.codec" title="File Codec">
{{ data.metadata.codec }}
</h4>
- <h4 class="text-nowrap text-start" v-else-if="data.metadata?.resolution_height && !isAudio">
+ <h4 class="text-nowrap text-start" v-else-if="data.metadata?.resolution_height && !isAudio" title="Resolution and Codec">
{{ data.metadata.resolution_height }}P{{ data.metadata.codec ? ` | ${data.metadata.codec}` : '' }}
</h4>
</span>