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:
parent
1496fa7177
commit
674b4d2eb2
|
|
@ -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, "")),
|
||||
|
|
|
|||
Loading…
Reference in New Issue