From 73a6678cb38dc7dedcc1a2a9de85a4be48f25811 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 21 Jan 2023 21:03:13 +0100 Subject: [PATCH] feat: reorder and filter account timeline --- components/timeline/TimelineHome.vue | 2 +- pages/[[server]]/@[account]/index/index.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/timeline/TimelineHome.vue b/components/timeline/TimelineHome.vue index 1367dae4..dc3f481c 100644 --- a/components/timeline/TimelineHome.vue +++ b/components/timeline/TimelineHome.vue @@ -3,7 +3,7 @@ import type { mastodon } from 'masto' const paginator = useMastoClient().v1.timelines.listHome({ limit: 30 }) const stream = $(useStreaming(client => client.v1.stream.streamUser())) -const reorderAndFilter = (items: mastodon.v1.Status[]) => reorderedTimeline(items, 'home') +const reorderAndFilter = (items: mastodon.v1.Status[]) => reorderedTimeline(items, 'account')