mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2025-09-10 22:43:50 +02: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:
@@ -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