{#if !data.data || (data.data?.length ?? 0) == 0}
searchParam($page.url, 'page', p.detail.toString())}
/>
diff --git a/src/routes/inbox/+page.ts b/src/routes/inbox/+page.ts
index 302d246f..8e97cb92 100644
--- a/src/routes/inbox/+page.ts
+++ b/src/routes/inbox/+page.ts
@@ -58,5 +58,11 @@ export async function load({ url, fetch }) {
publishedToDate(a.published).getTime()
)
- return { unreadOnly: unreadOnly, type: type, page: page, data: data }
+ return {
+ unreadOnly: unreadOnly,
+ type: type,
+ page: page,
+ data: data,
+ limit: 20,
+ }
}