feat: content filters (#279)
This commit is contained in:
parent
337d2a8b43
commit
4f8f2ed1f1
14 changed files with 44 additions and 27 deletions
|
@ -52,7 +52,7 @@ onReactivated(() => {
|
|||
<div v-if="status" min-h-100vh>
|
||||
<template v-if="context">
|
||||
<template v-for="comment of context?.ancestors" :key="comment.id">
|
||||
<StatusCard :status="comment" border="t base" py3 />
|
||||
<StatusCard :status="comment" context="account" border="t base" py3 />
|
||||
</template>
|
||||
</template>
|
||||
|
||||
|
@ -73,7 +73,7 @@ onReactivated(() => {
|
|||
|
||||
<template v-if="context">
|
||||
<template v-for="comment of context?.descendants" :key="comment.id">
|
||||
<StatusCard :status="comment" border="t base" py3 />
|
||||
<StatusCard :status="comment" context="account" border="t base" py3 />
|
||||
</template>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ const paginator = $computed(() => tabs.find(t => t.name === tab)!.paginator)
|
|||
<div>
|
||||
<CommonTabs v-model="tab" :options="tabs" command />
|
||||
<KeepAlive>
|
||||
<TimelinePaginator :key="tab" :paginator="paginator" />
|
||||
<TimelinePaginator :key="tab" :paginator="paginator" context="account" />
|
||||
</KeepAlive>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue