Windows Firewall fix

This commit is contained in:
polv committed 2026-03-05 18:10:18 +07:00
1 parent e435ad3a82
commit 4c2b14c2d8
2 files changed
+43 -1

No files matched your search

+7 -1
View File
@@ -114,6 +114,8 @@ function SearchPage() {
} else {
setEntries([...entries, ...result]);
}
return result;
}
const onEntriesScrollEnd: UIEventHandler = async ({ target }) => {
@@ -123,7 +125,11 @@ function SearchPage() {
if (scrollHeight - 20 > scrollTop + target.getBoundingClientRect().height)
return;
await runSearch(false);
const results = await runSearch(false);
if (!results?.length) {
target.style.paddingBottom = "50vh";
return;
}
setTimeout(() => {
target.scrollTop = scrollTop + 100;