normalized tags

This commit is contained in:
reece 2019-10-23 12:55:58 +01:00 committed by Sean Yesmunt
parent 46d1cfcbed
commit 4cea57060e

View file

@ -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 });