Skip to content

Commit

Permalink
sub-noteでCWの時はメディアを展開しておくように
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Aug 23, 2019
1 parent ff9f583 commit 833bea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<mfm v-if="note.text" :text="note.text" :author="note.user" :i="$store.state.i" :custom-emojis="note.emojis"/>
<a class="rp" v-if="note.renoteId" :href="`/notes/${note.renoteId}`">RN: ...</a>
</div>
<details v-if="note.files.length > 0">
<details v-if="note.files.length > 0" :open="note.cw != null">
<summary>({{ this.$t('media-count').replace('{}', note.files.length) }})</summary>
<mk-media-list :media-list="note.files" :hide="!$store.state.device.alwaysShowNsfw && note.cw == null"/>
</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<mfm v-if="note.text" :text="note.text" :author="note.user" :i="$store.state.i" :custom-emojis="note.emojis"/>
<a class="rp" v-if="note.renoteId">RN: ...</a>
</div>
<details v-if="note.files.length > 0">
<details v-if="note.files.length > 0" :open="note.cw != null">
<summary>({{ $t('media-count').replace('{}', note.files.length) }})</summary>
<mk-media-list :media-list="note.files" :hide="!$store.state.device.alwaysShowNsfw && note.cw == null"/>
</details>
Expand Down

0 comments on commit 833bea5

Please sign in to comment.