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

Merge pull request #5154 from NTARelix/fix/asl-smell

Remove unused Id prop from access schedule list
This commit is contained in:
Bill Thornton 2024-02-07 01:17:58 -05:00 committed by GitHub
commit 657b15efc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 2 deletions

View file

@ -78,6 +78,7 @@
- [DinuD](https://github.com/DinuD) - [DinuD](https://github.com/DinuD)
- [Kevin Tan (Valius)](https://github.com/valius) - [Kevin Tan (Valius)](https://github.com/valius)
- [Rasmus Krämer](https://github.com/rasmuslos) - [Rasmus Krämer](https://github.com/rasmuslos)
- [ntarelix](https://github.com/ntarelix)
## Emby Contributors ## Emby Contributors

View file

@ -414,7 +414,6 @@ const UserParentalControl: FunctionComponent = () => {
return <AccessScheduleList return <AccessScheduleList
key={accessSchedule.Id} key={accessSchedule.Id}
index={index} index={index}
Id={accessSchedule.Id}
DayOfWeek={accessSchedule.DayOfWeek} DayOfWeek={accessSchedule.DayOfWeek}
StartHour={accessSchedule.StartHour} StartHour={accessSchedule.StartHour}
EndHour={accessSchedule.EndHour} EndHour={accessSchedule.EndHour}

View file

@ -5,7 +5,6 @@ import IconButtonElement from '../../../elements/IconButtonElement';
type AccessScheduleListProps = { type AccessScheduleListProps = {
index: number; index: number;
Id?: number;
DayOfWeek?: string; DayOfWeek?: string;
StartHour?: number ; StartHour?: number ;
EndHour?: number; EndHour?: number;