Always fetch data for "*" label

This commit is contained in:
yangdx
2025-03-12 05:44:27 +08:00
parent 32e7fdc4fc
commit 0e234beaf5
2 changed files with 9 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ const GraphLabels = () => {
let result: string[] = labels
if (query) {
// Search labels
result = searchEngine.search(query).map((r) => labels[r.id])
result = searchEngine.search(query).map((r: { id: number }) => labels[r.id])
}
return result.length <= labelListLimit