kopia lustrzana https://github.com/nextcloud/social
rodzic
75102c41cb
commit
369e741f56
|
@ -27,8 +27,8 @@
|
||||||
<div class="post-message" v-html="formatedMessage" />
|
<div class="post-message" v-html="formatedMessage" />
|
||||||
<div v-click-outside="hidePopoverMenu" class="post-actions">
|
<div v-click-outside="hidePopoverMenu" class="post-actions">
|
||||||
<a v-tooltip.bottom="t('social', 'Reply')" class="icon-reply" @click.prevent="reply" />
|
<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')"
|
<a v-if="item.actor_info.account !== cloudId" v-tooltip.bottom="t('social', 'Boost')"
|
||||||
:class="(isBoosted) ? 'icon-boosted' : 'icon-boost'"
|
:class="(isBoosted) ? 'icon-boosted' : 'icon-boost'"
|
||||||
@click.prevent="boost" />
|
@click.prevent="boost" />
|
||||||
<div v-if="popoverMenu.length > 0" v-tooltip.bottom="t('social', 'More actions')" class="post-actions-more">
|
<div v-if="popoverMenu.length > 0" v-tooltip.bottom="t('social', 'More actions')" class="post-actions-more">
|
||||||
<a class="icon-more" @click.prevent="togglePopoverMenu" />
|
<a class="icon-more" @click.prevent="togglePopoverMenu" />
|
||||||
|
@ -117,10 +117,9 @@ export default {
|
||||||
},
|
},
|
||||||
isBoosted() {
|
isBoosted() {
|
||||||
if (typeof this.item.action === 'undefined') {
|
if (typeof this.item.action === 'undefined') {
|
||||||
return false;
|
return false
|
||||||
}
|
}
|
||||||
|
return !!this.item.action.values.boosted
|
||||||
return !!this.item.action.values.boosted;
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Ładowanie…
Reference in New Issue