+
@@ -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
},