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:
parent
1523f9dfbd
commit
c827fced95
14 changed files with 138 additions and 83 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue