@overmap-ai/core 1.0.38-component-fields.13 → 1.0.38-component-fields.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10403,8 +10403,11 @@ const FormBrowser = memo(
10403
10403
  const userFormMapping = useAppSelector(selectUserFormMapping);
10404
10404
  let componentUserFormCount = 0;
10405
10405
  const attachableUserForms = userForms.filter((form) => {
10406
- componentUserFormCount++;
10407
- return !form.component_type && !form.component_stage;
10406
+ if (form.component_type || form.component_stage) {
10407
+ componentUserFormCount++;
10408
+ return false;
10409
+ }
10410
+ return true;
10408
10411
  });
10409
10412
  const attachableUserFormMapping = Object.values(userFormMapping).filter(
10410
10413
  (form) => !form.component_type && !form.component_stage