aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-02-02 15:57:46 +0000
committerMohamed Bassem <me@mbassem.com>2025-02-02 15:57:46 +0000
commite03997ac5abb32ab63ccf3bb8edc887d9717564e (patch)
treec4409ac761ae48314a50635a1e705c2c00f44c98 /apps/web
parentd95cebf889fc94f47b11c523752280baba59d705 (diff)
downloadkarakeep-e03997ac5abb32ab63ccf3bb8edc887d9717564e.tar.zst
fix: Hide tags that were attached once by humans from AI tags
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/components/dashboard/tags/AllTagsView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/tags/AllTagsView.tsx b/apps/web/components/dashboard/tags/AllTagsView.tsx
index 1efc6090..6b10d800 100644
--- a/apps/web/components/dashboard/tags/AllTagsView.tsx
+++ b/apps/web/components/dashboard/tags/AllTagsView.tsx
@@ -109,7 +109,9 @@ export default function AllTagsView({
(t) => (t.numBookmarksByAttachedType.human ?? 0) > 0,
);
const aiTags = allTags.filter(
- (t) => (t.numBookmarksByAttachedType.ai ?? 0) > 0,
+ (t) =>
+ (t.numBookmarksByAttachedType.human ?? 0) == 0 &&
+ (t.numBookmarksByAttachedType.ai ?? 0) > 0,
);
const emptyTags = allTags.filter((t) => t.numBookmarks === 0);