aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.vue
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-19 22:40:37 -0400
committertaehoon <th.dev91@gmail.com>2019-07-24 21:02:37 -0400
commitae829e8df13f2b9c18b3e5488ebe265e2669e759 (patch)
tree4c9d77591fa2bceec6cbea1c313ea0ae861b6e74 /src/components/timeline/timeline.vue
parent4826d7254954390f13b1aa33e740e4f4d3598908 (diff)
move pinned statuses showing logic in timeline
Diffstat (limited to 'src/components/timeline/timeline.vue')
-rw-r--r--src/components/timeline/timeline.vue12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index 623f65d7..9990f20a 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -28,6 +28,18 @@
</div>
<div :class="classes.body">
<div class="timeline">
+ <template v-for="statusId in pinnedStatusIds">
+ <conversation
+ v-if="timeline.statusesObject[statusId]"
+ :key="statusId"
+ class="status-fadein"
+ :statusoid="timeline.statusesObject[statusId]"
+ :collapsable="true"
+ :show-pinned="true"
+ />
+ </template>
+ </div>
+ <div class="timeline">
<conversation
v-for="status in statuses"
:key="status.id"