diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-26 15:17:44 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-26 15:17:44 +0100 |
| commit | b4c7de2ab00fb43a70c984138b79577a65c95191 (patch) | |
| tree | 2839ce026f1026fec5efa656d3b40e63382d7766 /apps/web | |
| parent | 7d163f2189c6f8080c0a9185cacab52b1b2cd5c0 (diff) | |
| download | karakeep-b4c7de2ab00fb43a70c984138b79577a65c95191.tar.zst | |
fix(inference): Attempt to reuse existing identical tags
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/components/dashboard/cleanups/TagDuplicationDetention.tsx | 2 |
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 = () => { |
