diff options
author | Jonas Sulzer <jonas@violoncello.ch> | 2019-05-03 20:05:05 +0200 |
---|---|---|
committer | Jonas Sulzer <jonas@violoncello.ch> | 2019-05-03 20:05:05 +0200 |
commit | 369e741f5614664706140c78be43b5cc6e010b06 (patch) | |
tree | 986c78c18df3760cb34b86e79d2f588e61fcfaa1 /src | |
parent | 75102c41cb2f8499333f48749e3dfc2fd016113a (diff) |
🐛 FIX: syntax
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/TimelineEntry.vue | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/TimelineEntry.vue b/src/components/TimelineEntry.vue index 8df11886..75ff2045 100644 --- a/src/components/TimelineEntry.vue +++ b/src/components/TimelineEntry.vue @@ -27,8 +27,8 @@ <div class="post-message" v-html="formatedMessage" /> <div v-click-outside="hidePopoverMenu" class="post-actions"> <a v-tooltip.bottom="t('social', 'Reply')" class="icon-reply" @click.prevent="reply" /> - <a v-if="this.item.actor_info.account !== this.cloudId" v-tooltip.bottom="t('social', 'Boost')" - :class="(isBoosted) ? 'icon-boosted' : 'icon-boost'" + <a v-if="item.actor_info.account !== cloudId" v-tooltip.bottom="t('social', 'Boost')" + :class="(isBoosted) ? 'icon-boosted' : 'icon-boost'" @click.prevent="boost" /> <div v-if="popoverMenu.length > 0" v-tooltip.bottom="t('social', 'More actions')" class="post-actions-more"> <a class="icon-more" @click.prevent="togglePopoverMenu" /> @@ -117,10 +117,9 @@ export default { }, isBoosted() { if (typeof this.item.action === 'undefined') { - return false; + return false } - - return !!this.item.action.values.boosted; + return !!this.item.action.values.boosted } }, methods: { |