From 878ffd15fccd368aa1e83ae195b4d44f5330fbab Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 23 Mar 2026 17:29:01 +0000 Subject: [PATCH] fix: prevent invalid calls to fetch label by publicId --- apps/web/src/components/LabelForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/LabelForm.tsx b/apps/web/src/components/LabelForm.tsx index 46fd2b8f..b72763c7 100644 --- a/apps/web/src/components/LabelForm.tsx +++ b/apps/web/src/components/LabelForm.tsx @@ -39,7 +39,7 @@ export function LabelForm({ labelPublicId: entityId, }, { - enabled: isEdit && !!entityId, + enabled: isEdit && entityId.length >= 12, }, );