summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-13 13:22:37 +0100
committerLouis Chemineau <louis@chmn.me>2023-03-13 13:22:37 +0100
commite2da02512ac0dd6afac9a4edd954ccecb85736e8 (patch)
treec46372d52be3cbd9c282bc46b2e0eb16dd1aa014
parent34ad2e43fd41884756e1cae021bb1fc94a1f88ae (diff)
Fix isBoost computed property
Signed-off-by: Louis Chemineau <louis@chmn.me>
-rw-r--r--src/components/TimelineEntry.vue6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/TimelineEntry.vue b/src/components/TimelineEntry.vue
index 4d649770..12c213e3 100644
--- a/src/components/TimelineEntry.vue
+++ b/src/components/TimelineEntry.vue
@@ -84,11 +84,9 @@ export default {
isNotification() {
return this.item.type !== undefined
},
- /**
- * @return {boolean}
- */
+ /** @return {boolean} */
isBoost() {
- return this.reblog !== null
+ return this.status.reblog !== null
},
/** @return {import('../types/Mastodon.js').Notification} */
notification() {