mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fixed remove filter tag issue
This commit is contained in:
parent
3372b30c57
commit
6e0775e1a2
@ -156,7 +156,7 @@ function useFilterManager(initialTags: Tag[]): {
|
||||
if(tags?.length==0 && urlTags?.length && urlTags?.length > 0) tags[0]=urlTags;
|
||||
tags?.map(urlTag => {
|
||||
if(!(urlTag.toLocaleLowerCase() === name.toLocaleLowerCase()))
|
||||
newUrlTags = newUrlTags + `${newUrlTags===""? urlTag : `,${urlTag}`}`
|
||||
newUrlTags = newUrlTags + `${newUrlTags===""? urlTag : `;${urlTag}`}`
|
||||
});
|
||||
if(newUrlTags !== "") {
|
||||
params.set("tags", `${newUrlTags}`)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user