Change id/key of rows/cells
This commit is contained in:
parent
8f3fedcf07
commit
3d4e0faf60
|
@ -49,7 +49,7 @@ export default function useScheduleTable({
|
||||||
...showHeader ? [{
|
...showHeader ? [{
|
||||||
id: 'header-'.concat(getTime(date).toString()),
|
id: 'header-'.concat(getTime(date).toString()),
|
||||||
cells: [{
|
cells: [{
|
||||||
id: 1,
|
id: 'header',
|
||||||
attributes: {
|
attributes: {
|
||||||
colSpan: header.length,
|
colSpan: header.length,
|
||||||
},
|
},
|
||||||
|
@ -59,7 +59,7 @@ export default function useScheduleTable({
|
||||||
...showSlot ? [{
|
...showSlot ? [{
|
||||||
id: 'slot-'.concat(getTime(date).toString()),
|
id: 'slot-'.concat(getTime(date).toString()),
|
||||||
cells: [{
|
cells: [{
|
||||||
id: 1,
|
id: 'timeslot',
|
||||||
timeSlot: {
|
timeSlot: {
|
||||||
start: date,
|
start: date,
|
||||||
end: nextDate,
|
end: nextDate,
|
||||||
|
|
Loading…
Reference in New Issue