aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-04-13 18:29:14 +0000
committerMohamed Bassem <me@mbassem.com>2025-04-13 18:29:14 +0000
commit5bdb2d944a08f63772497e203f47533ffb640d82 (patch)
treef8e77b3d6c4820dac4942724bf662a7ff57bfc15 /apps/web/components/dashboard/bookmarks/Bookmarks.tsx
parent1373a7b21d7b04f0fe5ea2a008c88b6a85665fe0 (diff)
downloadkarakeep-5bdb2d944a08f63772497e203f47533ffb640d82.tar.zst
fix: Dont download html content by default in the bookmark grid. Fixes #1198
Diffstat (limited to 'apps/web/components/dashboard/bookmarks/Bookmarks.tsx')
-rw-r--r--apps/web/components/dashboard/bookmarks/Bookmarks.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/web/components/dashboard/bookmarks/Bookmarks.tsx b/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
index af2e4990..9f7a900e 100644
--- a/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
+++ b/apps/web/components/dashboard/bookmarks/Bookmarks.tsx
@@ -13,7 +13,7 @@ export default async function Bookmarks({
showDivider,
showEditorCard = false,
}: {
- query: Omit<ZGetBookmarksRequest, "sortOrder">; // Sort order is handled by the store
+ query: Omit<ZGetBookmarksRequest, "sortOrder" | "includeContent">; // Sort order is handled by the store
header?: React.ReactNode;
showDivider?: boolean;
showEditorCard?: boolean;
@@ -23,7 +23,9 @@ export default async function Bookmarks({
redirect("/");
}
- const bookmarks = await api.bookmarks.getBookmarks(query);
+ const bookmarks = await api.bookmarks.getBookmarks({
+ ...query,
+ });
return (
<div className="flex flex-col gap-3">