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

@ -30,6 +30,7 @@ const visibility = $computed(() => STATUS_VISIBILITIES.find(v => v.value === sta
{{ status.spoilerText }}
</template>
<StatusBody :status="status" :with-action="false" text-2xl />
<StatusPoll v-if="status.poll" :poll="status.poll" />
<StatusMedia
v-if="status.mediaAttachments?.length"
:status="status"