mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 15:39:15 +02:00
style: 🎨 Format code with Biome
This commit is contained in:
parent
7ff9d2302a
commit
3627ac0ef8
296 changed files with 3257 additions and 2808 deletions
|
|
@ -1,8 +1,17 @@
|
|||
<template>
|
||||
<ImageAttachment v-if="attachment.type === 'image'" :attachment="attachment" />
|
||||
<VideoAttachment v-else-if="attachment.type === 'video' || attachment.type === 'gifv'" :attachment="attachment" />
|
||||
<AudioAttachment v-else-if="attachment.type === 'audio'" :attachment="attachment" />
|
||||
<FileAttachment v-else :attachment="attachment" />
|
||||
<ImageAttachment
|
||||
v-if="attachment.type === 'image'"
|
||||
:attachment="attachment"
|
||||
/>
|
||||
<VideoAttachment
|
||||
v-else-if="attachment.type === 'video' || attachment.type === 'gifv'"
|
||||
:attachment="attachment"
|
||||
/>
|
||||
<AudioAttachment
|
||||
v-else-if="attachment.type === 'audio'"
|
||||
:attachment="attachment"
|
||||
/>
|
||||
<FileAttachment v-else :attachment="attachment"/>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue