1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Use daysofweek and hours as key

This is better and any sane person should not set multiple schdules to be exactly the same
This commit is contained in:
gnattu 2024-10-20 22:39:50 +08:00
parent 95e935aede
commit bb17d58536

View file

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