diff --git a/webui/src/util/search.ts b/webui/src/util/search.ts index 88b0d08..4117437 100644 --- a/webui/src/util/search.ts +++ b/webui/src/util/search.ts @@ -29,6 +29,9 @@ export async function createLabelled(label: string) { method: "PUT", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ + entity: !label.match("^[\\w]+://[\\w]") + ? undefined + : { t: "Url", c: label }, attribute: "LBL", value: { t: "String",