From e03997ac5abb32ab63ccf3bb8edc887d9717564e Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 2 Feb 2025 15:57:46 +0000 Subject: fix: Hide tags that were attached once by humans from AI tags --- apps/web/components/dashboard/tags/AllTagsView.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps') 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); -- cgit v1.2.3-70-g09d2