When a post with a subject is collapsed, hide its attachments.

This commit is contained in:
scarlett 2018-08-25 20:33:44 +01:00
parent 30a6b7be5b
commit d50440d802

View file

@ -83,7 +83,7 @@
<a v-if="showingMore" href="#" class="status-unhider" @click.prevent="toggleShowMore">Show less</a>
</div>
<div v-if='status.attachments' class='attachments media-body'>
<div v-if='status.attachments && !hideSubjectStatus' class='attachments media-body'>
<attachment :size="attachmentSize" :status-id="status.id" :nsfw="status.nsfw" :attachment="attachment" v-for="attachment in status.attachments" :key="attachment.id">
</attachment>
</div>