@burdenoff/website-sdk 2026.524.12 → 2026.526.2

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.
@@ -1090,7 +1090,14 @@ function PartnersPage(props) {
1090
1090
  cancelled = true;
1091
1091
  };
1092
1092
  }, [client, resolvedProductId, contentSlug, contentTag, documentsTag]);
1093
- const lockedCategory = contactCategory === false ? null : contactCategory ?? DEFAULT_PARTNER_CATEGORY;
1093
+ let partnerCategories;
1094
+ if (contactCategory === false) {
1095
+ partnerCategories = [];
1096
+ } else if (Array.isArray(contactCategory)) {
1097
+ partnerCategories = contactCategory.length > 0 ? contactCategory : [DEFAULT_PARTNER_CATEGORY];
1098
+ } else {
1099
+ partnerCategories = [contactCategory ?? DEFAULT_PARTNER_CATEGORY];
1100
+ }
1094
1101
  return /* @__PURE__ */ jsxs("div", { className, children: [
1095
1102
  /* @__PURE__ */ jsx(
1096
1103
  PageHead,
@@ -1123,9 +1130,9 @@ function PartnersPage(props) {
1123
1130
  responseTime,
1124
1131
  recaptchaSiteKey,
1125
1132
  additionalOptions,
1126
- categories: lockedCategory ? [lockedCategory] : [],
1133
+ categories: partnerCategories,
1127
1134
  categoryLabel: "Partnership type",
1128
- categoryRequired: !!lockedCategory
1135
+ categoryRequired: partnerCategories.length > 0
1129
1136
  }
1130
1137
  )
1131
1138
  ] });