From 32be0e15d11c14513ff4fdc984aeaa4a5f462eac Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 26 Apr 2019 15:46:40 -0400 Subject: [PATCH] use pinned property from status directly --- src/components/conversation/conversation.js | 3 +-- src/components/conversation/conversation.vue | 1 - src/components/status/status.js | 3 +-- src/components/status/status.vue | 2 +- src/components/user_profile/user_profile.vue | 1 - 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index fc239ee9..ffeb7244 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -41,8 +41,7 @@ const conversation = { props: [ 'statusoid', 'collapsable', - 'isPage', - 'pinned' + 'isPage' ], created () { if (this.isPage) { diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 40011113..d04ff722 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -13,7 +13,6 @@ :key="status.id" :inlineExpanded="collapsable && isExpanded" :statusoid="status" - :pinned="pinned" :expandable='!isExpanded' :focused="focused(status.id)" :inConversation="isExpanded" diff --git a/src/components/status/status.js b/src/components/status/status.js index fa4b426c..09a2a010 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -26,8 +26,7 @@ const Status = { 'replies', 'isPreview', 'noHeading', - 'inlineExpanded', - 'pinned' + 'inlineExpanded' ], data () { return { diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 1644f6b0..41662576 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -13,7 +13,7 @@