hide poll when subject collapsed, but show poll icon

This commit is contained in:
Shpuld Shpuldson 2020-08-31 11:50:26 +03:00
parent 39f8587171
commit b5d15eddcf

View file

@ -71,6 +71,10 @@
v-if="attachmentTypes.includes('unknown')" v-if="attachmentTypes.includes('unknown')"
class="icon-doc" class="icon-doc"
/> />
<span
v-if="status.poll && status.poll.options"
class="icon-chart-bar"
/>
<span <span
v-if="status.card" v-if="status.card"
class="icon-link" class="icon-link"
@ -86,7 +90,7 @@
</a> </a>
</div> </div>
<div v-if="status.poll && status.poll.options"> <div v-if="status.poll && status.poll.options && !hideSubjectStatus">
<poll :base-poll="status.poll" /> <poll :base-poll="status.poll" />
</div> </div>