1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 14:26:28 +02:00
This commit is contained in:
syuilo
2025-05-09 20:27:11 +09:00
parent 1febae7128
commit 6a2dc2d2d2
2 changed files with 8 additions and 4 deletions

View File

@@ -18,7 +18,14 @@ SPDX-License-Identifier: AGPL-3.0-only
</details>
<details v-if="note.poll">
<summary>{{ i18n.ts.poll }}</summary>
<MkPoll :noteId="note.id" :poll="note.poll" :author="note.user" :emojiUrls="note.emojis"/>
<MkPoll
:noteId="note.id"
:multiple="note.poll.multiple"
:expiresAt="note.poll.expiresAt"
:choices="note.poll.choices"
:author="note.user"
:emojiUrls="note.emojis"
/>
</details>
<button v-if="isLong && collapsed" :class="$style.fade" class="_button" @click="collapsed = false">
<span :class="$style.fadeLabel">{{ i18n.ts.showMore }}</span>