mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove unused Id prop from access schedule list
Reported by sonarcloud: https://sonarcloud.io/project/issues?fileUuids=AX6fELCkjUUWs1HF_Tc8&resolved=false&types=CODE_SMELL&id=jellyfin_jellyfin-web&open=AYr_7x6Y4nroI6nze3Zu
This commit is contained in:
parent
2669d1d3ea
commit
c2d1923917
3 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue