diff options
| author | taehoon <th.dev91@gmail.com> | 2019-07-19 22:40:37 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-07-24 21:02:37 -0400 |
| commit | ae829e8df13f2b9c18b3e5488ebe265e2669e759 (patch) | |
| tree | 4c9d77591fa2bceec6cbea1c313ea0ae861b6e74 /src | |
| parent | 4826d7254954390f13b1aa33e740e4f4d3598908 (diff) | |
move pinned statuses showing logic in timeline
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/timeline/timeline.vue | 12 | ||||
| -rw-r--r-- | src/components/user_profile/user_profile.vue | 12 |
2 files changed, 12 insertions, 12 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" diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue index 81c63d7e..f4b284e2 100644 --- a/src/components/user_profile/user_profile.vue +++ b/src/components/user_profile/user_profile.vue @@ -15,18 +15,6 @@ :render-only-focused="true" > <div :label="$t('user_card.statuses')"> - <div class="timeline"> - <template v-for="statusId in user.pinnedStatuseIds"> - <Conversation - v-if="timeline.statusesObject[statusId]" - :key="statusId" - class="status-fadein" - :statusoid="timeline.statusesObject[statusId]" - :collapsable="true" - :show-pinned="true" - /> - </template> - </div> <Timeline :count="user.statuses_count" :embedded="true" |
