@vergelijkdirect/comparison-forms 1.2.41-VER-7909.1 → 1.2.41-VER-7909.3

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.
@@ -22835,10 +22835,12 @@ const iM = Gg.exports, oM = (t) => {
22835
22835
  streetName: u
22836
22836
  };
22837
22837
  }, zu = () => {
22838
- const t = ft.companyData, e = t._embedded.hoofdvestiging.adressen, r = oM(e), n = t.sbiActiviteiten, { mainSbiCode: a, otherSbiCodes: i } = n.reduce(
22839
- (u, c) => (c.indHoofdactiviteit === "Ja" ? u.mainSbiCode = c.sbiCode : u.otherSbiCodes.push(c.sbiCode), u),
22840
- { mainSbiCode: null, otherSbiCodes: [] }
22841
- ), o = {
22838
+ const t = ft.companyData, e = t._embedded.hoofdvestiging.adressen, r = oM(e), n = t.sbiActiviteiten;
22839
+ let a = null;
22840
+ const i = [];
22841
+ for (const u of n)
22842
+ u.indHoofdactiviteit === "Ja" && (a = u.sbiCode), i.push(u.sbiCode);
22843
+ const o = {
22842
22844
  name: t.naam,
22843
22845
  kvkNumber: t.kvkNummer,
22844
22846
  industry: t.sbiIndustryId,