mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use index as key for access schedule
Unfortuenately, the key is never populated in accessSchedule.js which cannot use that as a key for a list
This commit is contained in:
parent
0ad0a6162b
commit
3ae148f193
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ const UserParentalControl = () => {
|
||||||
<div className='accessScheduleList paperList'>
|
<div className='accessScheduleList paperList'>
|
||||||
{accessSchedules.map((accessSchedule, index) => {
|
{accessSchedules.map((accessSchedule, index) => {
|
||||||
return <AccessScheduleList
|
return <AccessScheduleList
|
||||||
key={accessSchedule.Id}
|
key={index}
|
||||||
index={index}
|
index={index}
|
||||||
DayOfWeek={accessSchedule.DayOfWeek}
|
DayOfWeek={accessSchedule.DayOfWeek}
|
||||||
StartHour={accessSchedule.StartHour}
|
StartHour={accessSchedule.StartHour}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue