From 8f375c7a5481c08041e770ac42071f35647da00a Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Thu, 24 Jan 2019 00:15:53 +0900
Subject: [PATCH] Change computed to directed in toot
---
src/renderer/components/molecules/Toot.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/renderer/components/molecules/Toot.vue b/src/renderer/components/molecules/Toot.vue
index 05c45b42..ba9a7906 100644
--- a/src/renderer/components/molecules/Toot.vue
+++ b/src/renderer/components/molecules/Toot.vue
@@ -79,10 +79,10 @@
-
+
-
+
@@ -249,6 +249,9 @@ export default {
},
locked: function () {
return this.message.visibility === 'private'
+ },
+ directed: function () {
+ return this.message.visibility === 'direct'
}
},
mounted () {
@@ -451,9 +454,6 @@ export default {
})
})
},
- directed (message) {
- return message.visibility === 'direct'
- },
status () {
const original = this.originalMessage
return emojify(original.content, original.emojis)