use pinned property from status directly
This commit is contained in:
parent
f8186bfc74
commit
32be0e15d1
5 changed files with 3 additions and 7 deletions
|
@ -41,8 +41,7 @@ const conversation = {
|
|||
props: [
|
||||
'statusoid',
|
||||
'collapsable',
|
||||
'isPage',
|
||||
'pinned'
|
||||
'isPage'
|
||||
],
|
||||
created () {
|
||||
if (this.isPage) {
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
:key="status.id"
|
||||
:inlineExpanded="collapsable && isExpanded"
|
||||
:statusoid="status"
|
||||
:pinned="pinned"
|
||||
:expandable='!isExpanded'
|
||||
:focused="focused(status.id)"
|
||||
:inConversation="isExpanded"
|
||||
|
|
|
@ -26,8 +26,7 @@ const Status = {
|
|||
'replies',
|
||||
'isPreview',
|
||||
'noHeading',
|
||||
'inlineExpanded',
|
||||
'pinned'
|
||||
'inlineExpanded'
|
||||
],
|
||||
data () {
|
||||
return {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div v-if="pinned" class="status-pin">
|
||||
<div v-if="statusoid.pinned" class="status-pin">
|
||||
<i class="fa icon-pin faint"></i>
|
||||
<span class="faint">Pinned</span>
|
||||
</div>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
class="status-fadein"
|
||||
:key="status.id"
|
||||
:statusoid="status"
|
||||
:pinned="true"
|
||||
:collapsable="true"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue