@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.
@@ -303,8 +303,8 @@ function DataTableServer<T extends DataTableInternalItems>({
303
303
  );
304
304
 
305
305
  const options = response.data.map((item: any) => ({
306
- value: item[column.filterValueKey as keyof typeof item],
307
- label: item[column.filterLabelKey as keyof typeof item],
306
+ value: item[column.filterValueKey as keyof typeof item]?.toString(),
307
+ label: item[column.filterLabelKey as keyof typeof item]?.toString(),
308
308
  }));
309
309
  return options;
310
310
  } catch (error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@addsign/moje-agenda-shared-lib",
3
3
  "private": false,
4
- "version": "2.0.42",
4
+ "version": "2.0.43",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",