design: add unified notifications button
This commit is contained in:
8 files changed
+112
-76
No files matched your search
@@ -54,16 +54,16 @@ export async function postFeed(args: {
|
||||
},
|
||||
}
|
||||
|
||||
return (
|
||||
postFeeds.value[args.id]?.data ?? {
|
||||
...args.request,
|
||||
posts: posts,
|
||||
cursor: {
|
||||
next: posts.next_page,
|
||||
},
|
||||
type_: args.request.type_,
|
||||
}
|
||||
)
|
||||
const defaultFeed = $state({
|
||||
...args.request,
|
||||
posts: posts,
|
||||
cursor: {
|
||||
next: posts.next_page,
|
||||
},
|
||||
type_: args.request.type_,
|
||||
})
|
||||
|
||||
return postFeeds.value[args.id]?.data ?? defaultFeed
|
||||
}
|
||||
|
||||
export function getPostFeed(feeds: Map<PostFeedID, PostFeed>, id: PostFeedID) {
|
||||
|
||||
Reference in new issue
Block a user