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

use pinned property from status directly

parent f8186bfc
......@@ -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>
......
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