From 4cea57060e6acbeaa0a5ca042f965370a846e9a8 Mon Sep 17 00:00:00 2001 From: reece Date: Wed, 23 Oct 2019 12:55:58 +0100 Subject: [PATCH] normalized tags --- src/ui/component/tagsSearch/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/component/tagsSearch/view.jsx b/src/ui/component/tagsSearch/view.jsx index 7cf049601..5b8c45186 100644 --- a/src/ui/component/tagsSearch/view.jsx +++ b/src/ui/component/tagsSearch/view.jsx @@ -62,7 +62,7 @@ export default function TagsSearch(props: Props) { setNewTag(''); - tags = tags.split(',').map(newTag => newTag.trim()); + tags = tags.split(',').map(newTag => newTag.trim().toLowerCase()); tags.forEach(tag => { if (onSelect) { onSelect({ name: tag });