diff --git a/src/renderer/components/molecules/Toot.vue b/src/renderer/components/molecules/Toot.vue index efcf59c0..5c7fe88b 100644 --- a/src/renderer/components/molecules/Toot.vue +++ b/src/renderer/components/molecules/Toot.vue @@ -46,11 +46,11 @@
- + {{ $t('cards.toot.sensitive') }} -
- +
+
@@ -240,6 +240,9 @@ export default { }, sensitive: function () { return this.originalMessage.sensitive && this.mediaAttachments.length > 0 + }, + isShowAttachments: function () { + return !this.sensitive || this.showAttachments } }, mounted () { @@ -442,9 +445,6 @@ export default { }) }) }, - isShowAttachments () { - return !this.sensitive || this.showAttachments - }, filtered () { return this.filter.length > 0 && this.originalMessage.content.search(this.filter) >= 0 },