1
0
Fork 0
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:
gnattu 2024-10-20 22:26:30 +08:00
parent 0ad0a6162b
commit 3ae148f193

View file

@ -479,7 +479,7 @@ const UserParentalControl = () => {
<div className='accessScheduleList paperList'>
{accessSchedules.map((accessSchedule, index) => {
return <AccessScheduleList
key={accessSchedule.Id}
key={index}
index={index}
DayOfWeek={accessSchedule.DayOfWeek}
StartHour={accessSchedule.StartHour}