feat: add option to disable post feed virtualization
This commit is contained in:
1 parent
345d4a7366
commit
4797e5ca64
7 files changed
+26
-22
No files matched your search
@@ -33,7 +33,7 @@ export async function postFeed(args: {
|
||||
const feed = get(postFeeds)[args.id]
|
||||
|
||||
const posts = shouldReload(feed, args.url, get(instance))
|
||||
? await client({ func: fetch }).getPosts(args.request)
|
||||
? await client({ func: args.fetch }).getPosts(args.request)
|
||||
: feed.data.posts
|
||||
|
||||
if (shouldReload(feed, args.url, get(instance)) && browser)
|
||||
|
||||
Reference in new issue
Block a user