fix a tags bug (#1037)
* fix a tags bug Solved the problem of not being able to add tags * fix: tags a little change
This commit is contained in:
@@ -60,6 +60,7 @@ export function TagInput({
|
||||
? userTags
|
||||
: Array.from(new Set([query, ...userTags])).filter((tag) =>
|
||||
tag
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.replace(/\s+/g, "")
|
||||
.includes(query.toLowerCase().replace(/\s+/g, "")),
|
||||
|
||||
Reference in New Issue
Block a user