diff options
author | Louis Chemineau <louis@chmn.me> | 2023-03-13 13:22:37 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2023-03-13 13:22:37 +0100 |
commit | e2da02512ac0dd6afac9a4edd954ccecb85736e8 (patch) | |
tree | c46372d52be3cbd9c282bc46b2e0eb16dd1aa014 /src | |
parent | 34ad2e43fd41884756e1cae021bb1fc94a1f88ae (diff) |
Fix isBoost computed property
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TimelineEntry.vue | 6 |
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() { |