Lade Konfiguration...
;
}
- const weekdays = ['Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag'];
-
return (
{config.map((item, index) => {
+ const itemId = item?.id;
const normalizedRange = item.desiredDateRange
? { ...item.desiredDateRange }
: item.desiredDate
@@ -39,7 +40,7 @@ const PickupConfigTable = ({
onToggleActive(index)}
+ onChange={() => onToggleActive(itemId, index)}
className="h-5 w-5"
/>
@@ -50,7 +51,7 @@ const PickupConfigTable = ({
onToggleProfileCheck(index)}
+ onChange={() => onToggleProfileCheck(itemId, index)}
className="h-5 w-5"
/>
@@ -58,14 +59,14 @@ const PickupConfigTable = ({
onToggleOnlyNotify(index)}
+ onChange={() => onToggleOnlyNotify(itemId, index)}
className="h-5 w-5"
/>
|