feat: preview multiple images
This commit is contained in:
parent
568a333d7c
commit
cf7cd1fd6c
7 changed files with 92 additions and 23 deletions
|
@ -9,7 +9,11 @@ const { status } = defineProps<{
|
|||
<template>
|
||||
<div class="status-media-container" :class="`status-media-container-${status.mediaAttachments.length}`">
|
||||
<template v-for="attachment of status.mediaAttachments" :key="attachment.id">
|
||||
<StatusAttachment :attachment="attachment" class="w-full h-full" />
|
||||
<StatusAttachment
|
||||
:attachment="attachment"
|
||||
:attachments="status.mediaAttachments"
|
||||
class="w-full h-full"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue