Merge pull request #5154 from NTARelix/fix/asl-smell
Remove unused Id prop from access schedule list
This commit is contained in:
@@ -78,6 +78,7 @@
|
||||
- [DinuD](https://github.com/DinuD)
|
||||
- [Kevin Tan (Valius)](https://github.com/valius)
|
||||
- [Rasmus Krämer](https://github.com/rasmuslos)
|
||||
- [ntarelix](https://github.com/ntarelix)
|
||||
|
||||
## Emby Contributors
|
||||
|
||||
|
||||
@@ -414,7 +414,6 @@ const UserParentalControl: FunctionComponent = () => {
|
||||
return <AccessScheduleList
|
||||
key={accessSchedule.Id}
|
||||
index={index}
|
||||
Id={accessSchedule.Id}
|
||||
DayOfWeek={accessSchedule.DayOfWeek}
|
||||
StartHour={accessSchedule.StartHour}
|
||||
EndHour={accessSchedule.EndHour}
|
||||
|
||||
@@ -5,7 +5,6 @@ import IconButtonElement from '../../../elements/IconButtonElement';
|
||||
|
||||
type AccessScheduleListProps = {
|
||||
index: number;
|
||||
Id?: number;
|
||||
DayOfWeek?: string;
|
||||
StartHour?: number ;
|
||||
EndHour?: number;
|
||||
|
||||
Reference in New Issue
Block a user