aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-04-26 15:17:44 +0100
committerMohamedBassem <me@mbassem.com>2024-04-26 15:17:44 +0100
commitb4c7de2ab00fb43a70c984138b79577a65c95191 (patch)
tree2839ce026f1026fec5efa656d3b40e63382d7766 /apps/web/components
parent7d163f2189c6f8080c0a9185cacab52b1b2cd5c0 (diff)
downloadkarakeep-b4c7de2ab00fb43a70c984138b79577a65c95191.tar.zst
fix(inference): Attempt to reuse existing identical tags
Diffstat (limited to 'apps/web/components')
-rw-r--r--apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx b/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx
index 619158fd..61132a60 100644
--- a/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx
+++ b/apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx
@@ -34,7 +34,7 @@ interface Suggestion {
}
function normalizeTag(tag: string) {
- return tag.toLocaleLowerCase().replace(/[ -]/g, "");
+ return tag.toLocaleLowerCase().replace(/[ -_]/g, "");
}
const useSuggestions = () => {