forked from AkkomaGang/akkoma-fe
move pinned statuses showing logic in timeline
This commit is contained in:
parent
4826d72549
commit
ae829e8df1
2 changed files with 12 additions and 12 deletions
|
@ -27,6 +27,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div :class="classes.body">
|
<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">
|
<div class="timeline">
|
||||||
<conversation
|
<conversation
|
||||||
v-for="status in statuses"
|
v-for="status in statuses"
|
||||||
|
|
|
@ -15,18 +15,6 @@
|
||||||
:render-only-focused="true"
|
:render-only-focused="true"
|
||||||
>
|
>
|
||||||
<div :label="$t('user_card.statuses')">
|
<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
|
<Timeline
|
||||||
:count="user.statuses_count"
|
:count="user.statuses_count"
|
||||||
:embedded="true"
|
:embedded="true"
|
||||||
|
|
Loading…
Reference in a new issue