fix: prevent invalid calls to fetch label by publicId

This commit is contained in:
Henry
2026-03-23 17:29:01 +00:00
parent 596f346181
commit 878ffd15fc

View File

@@ -39,7 +39,7 @@ export function LabelForm({
labelPublicId: entityId, labelPublicId: entityId,
}, },
{ {
enabled: isEdit && !!entityId, enabled: isEdit && entityId.length >= 12,
}, },
); );