@happychef/reservation-sidebar 2.0.7 → 2.0.8

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.
package/dist/index.js CHANGED
@@ -5298,7 +5298,7 @@ var ReservationSidebar = ({
5298
5298
  type: "select",
5299
5299
  options: availablePersoneel.map((p) => {
5300
5300
  const full = `${p.voornaam} ${p.achternaam}`;
5301
- return { value, label: full };
5301
+ return { value: p.id, label: full };
5302
5302
  }),
5303
5303
  value: formData.personeel,
5304
5304
  onChange: handleChange,
package/dist/index.mjs CHANGED
@@ -5289,7 +5289,7 @@ var ReservationSidebar = ({
5289
5289
  type: "select",
5290
5290
  options: availablePersoneel.map((p) => {
5291
5291
  const full = `${p.voornaam} ${p.achternaam}`;
5292
- return { value, label: full };
5292
+ return { value: p.id, label: full };
5293
5293
  }),
5294
5294
  value: formData.personeel,
5295
5295
  onChange: handleChange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happychef/reservation-sidebar",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "A compound component for managing restaurant reservations - JavaScript version with independent styles",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",