feat: polls (#210)

This commit is contained in:
Daniel Roe 2022-11-29 20:29:02 +00:00 committed by GitHub
parent 0e7076b991
commit 9af2956b1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 65 additions and 0 deletions

View file

@ -85,6 +85,7 @@ const timeago = useTimeAgo(() => status.createdAt, timeAgoOptions)
{{ status.spoilerText }}
</template>
<StatusBody :status="status" />
<StatusPoll v-if="status.poll" :poll="status.poll" />
<StatusMedia
v-if="status.mediaAttachments?.length"
:status="status"