Commit 32be0e15 authored by Tae Hoon's avatar Tae Hoon

use pinned property from status directly

parent f8186bfc
...@@ -41,8 +41,7 @@ const conversation = { ...@@ -41,8 +41,7 @@ const conversation = {
props: [ props: [
'statusoid', 'statusoid',
'collapsable', 'collapsable',
'isPage', 'isPage'
'pinned'
], ],
created () { created () {
if (this.isPage) { if (this.isPage) {
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
:key="status.id" :key="status.id"
:inlineExpanded="collapsable && isExpanded" :inlineExpanded="collapsable && isExpanded"
:statusoid="status" :statusoid="status"
:pinned="pinned"
:expandable='!isExpanded' :expandable='!isExpanded'
:focused="focused(status.id)" :focused="focused(status.id)"
:inConversation="isExpanded" :inConversation="isExpanded"
......
...@@ -26,8 +26,7 @@ const Status = { ...@@ -26,8 +26,7 @@ const Status = {
'replies', 'replies',
'isPreview', 'isPreview',
'noHeading', 'noHeading',
'inlineExpanded', 'inlineExpanded'
'pinned'
], ],
data () { data () {
return { return {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
</template> </template>
<template v-else> <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> <i class="fa icon-pin faint"></i>
<span class="faint">Pinned</span> <span class="faint">Pinned</span>
</div> </div>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
class="status-fadein" class="status-fadein"
:key="status.id" :key="status.id"
:statusoid="status" :statusoid="status"
:pinned="true"
:collapsable="true" :collapsable="true"
/> />
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment