Remove NuxtImg for non asset files

This commit is contained in:
Julien Nahum
2024-01-10 16:17:47 +01:00
parent 158dba64dc
commit 9750406025
17 changed files with 23 additions and 24 deletions

View File

@@ -8,7 +8,7 @@
rel="nofollow"
>
<div v-if="isImage(file.file_url)" class="w-8 h-8">
<NuxtImg class="object-cover h-full w-full rounded" :src="file.file_url"/>
<img class="object-cover h-full w-full rounded" :src="file.file_url"/>
</div>
<span v-else
class="py-1 px-2"