@addsign/moje-agenda-shared-lib 2.0.42 → 2.0.43

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.
@@ -21882,10 +21882,13 @@ function DataTableServer({
21882
21882
  const response = await federationContext.apiClient.get(
21883
21883
  column.filterSource
21884
21884
  );
21885
- const options = response.data.map((item) => ({
21886
- value: item[column.filterValueKey],
21887
- label: item[column.filterLabelKey]
21888
- }));
21885
+ const options = response.data.map((item) => {
21886
+ var _a2, _b2;
21887
+ return {
21888
+ value: (_a2 = item[column.filterValueKey]) == null ? void 0 : _a2.toString(),
21889
+ label: (_b2 = item[column.filterLabelKey]) == null ? void 0 : _b2.toString()
21890
+ };
21891
+ });
21889
21892
  return options;
21890
21893
  } catch (error) {
21891
21894
  console.error("Error fetching filter options:", error);