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

Update to @jellyfin/sdk package

This commit is contained in:
Bill Thornton 2022-09-16 12:47:59 -04:00
parent 1523f9dfbd
commit c827fced95
14 changed files with 138 additions and 83 deletions

View file

@ -3,9 +3,9 @@ import datetime from '../../../scripts/datetime';
import globalize from '../../../scripts/globalize';
import IconButtonElement from '../../../elements/IconButtonElement';
type IProps = {
type AccessScheduleListProps = {
index: number;
Id: number;
Id?: number;
DayOfWeek?: string;
StartHour?: number ;
EndHour?: number;
@ -22,7 +22,7 @@ function getDisplayTime(hours = 0) {
return datetime.getDisplayTime(new Date(2000, 1, 1, hours, minutes, 0, 0));
}
const AccessScheduleList: FunctionComponent<IProps> = ({index, DayOfWeek, StartHour, EndHour}: IProps) => {
const AccessScheduleList: FunctionComponent<AccessScheduleListProps> = ({index, DayOfWeek, StartHour, EndHour}: AccessScheduleListProps) => {
return (
<div
className='liSchedule listItem'