forked from AkkomaGang/akkoma-fe
replace poll with an icon in notifications
This commit is contained in:
parent
c8a7b6f433
commit
07c12ae162
1 changed files with 8 additions and 1 deletions
|
@ -10,13 +10,20 @@
|
||||||
:single-line="singleLine"
|
:single-line="singleLine"
|
||||||
@parseReady="$emit('parseReady', $event)"
|
@parseReady="$emit('parseReady', $event)"
|
||||||
>
|
>
|
||||||
<div v-if="status.poll && status.poll.options">
|
<div v-if="status.poll && status.poll.options && !compact">
|
||||||
<Poll
|
<Poll
|
||||||
:base-poll="status.poll"
|
:base-poll="status.poll"
|
||||||
:emoji="status.emojis"
|
:emoji="status.emojis"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div v-else-if="status.poll && status.poll.options && compact">
|
||||||
|
<FAIcon
|
||||||
|
icon="poll-h"
|
||||||
|
size="2x"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<gallery
|
<gallery
|
||||||
v-if="status.attachments.length !== 0"
|
v-if="status.attachments.length !== 0"
|
||||||
class="attachments media-body"
|
class="attachments media-body"
|
||||||
|
|
Loading…
Reference in a new issue