mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix missing semicolons in ts files
This commit is contained in:
parent
8041167473
commit
45623fe586
25 changed files with 29 additions and 29 deletions
|
@ -12,7 +12,7 @@ type IProps = {
|
|||
listTitle?: string;
|
||||
description?: string;
|
||||
children?: React.ReactNode
|
||||
}
|
||||
};
|
||||
|
||||
const AccessContainer: FunctionComponent<IProps> = ({ containerClassName, headerTitle, checkBoxClassName, checkBoxTitle, listContainerClassName, accessClassName, listTitle, description, children }: IProps) => {
|
||||
return (
|
||||
|
|
|
@ -9,7 +9,7 @@ type AccessScheduleListProps = {
|
|||
DayOfWeek?: string;
|
||||
StartHour?: number ;
|
||||
EndHour?: number;
|
||||
}
|
||||
};
|
||||
|
||||
function getDisplayTime(hours = 0) {
|
||||
let minutes = 0;
|
||||
|
|
|
@ -3,7 +3,7 @@ import IconButtonElement from '../../../elements/IconButtonElement';
|
|||
|
||||
type IProps = {
|
||||
tag?: string;
|
||||
}
|
||||
};
|
||||
|
||||
const BlockedTagList: FunctionComponent<IProps> = ({ tag }: IProps) => {
|
||||
return (
|
||||
|
|
|
@ -4,7 +4,7 @@ import globalize from '../../../scripts/globalize';
|
|||
type IProps = {
|
||||
title?: string;
|
||||
className?: string;
|
||||
}
|
||||
};
|
||||
|
||||
const createLinkElement = ({ className, title }: IProps) => ({
|
||||
__html: `<a
|
||||
|
|
|
@ -3,7 +3,7 @@ import globalize from '../../../scripts/globalize';
|
|||
|
||||
type IProps = {
|
||||
activeTab: string;
|
||||
}
|
||||
};
|
||||
|
||||
const createLinkElement = (activeTab: string) => ({
|
||||
__html: `<a href="#"
|
||||
|
|
|
@ -19,7 +19,7 @@ const createLinkElement = ({ user, renderImgUrl }: { user: UserDto, renderImgUrl
|
|||
|
||||
type IProps = {
|
||||
user?: UserDto;
|
||||
}
|
||||
};
|
||||
|
||||
const getLastSeenText = (lastActivityDate?: string | null) => {
|
||||
if (lastActivityDate) {
|
||||
|
|
|
@ -11,7 +11,7 @@ import InputElement from '../../../elements/InputElement';
|
|||
|
||||
type IProps = {
|
||||
userId: string;
|
||||
}
|
||||
};
|
||||
|
||||
const UserPasswordForm: FunctionComponent<IProps> = ({ userId }: IProps) => {
|
||||
const element = useRef<HTMLDivElement>(null);
|
||||
|
|
|
@ -24,7 +24,7 @@ type LiveTVSearchResultsProps = {
|
|||
parentId?: string | null;
|
||||
collectionType?: string | null;
|
||||
query?: string;
|
||||
}
|
||||
};
|
||||
|
||||
/*
|
||||
* React component to display search result rows for live tv library search
|
||||
|
|
|
@ -12,7 +12,7 @@ type SearchResultsProps = {
|
|||
parentId?: string | null;
|
||||
collectionType?: string | null;
|
||||
query?: string;
|
||||
}
|
||||
};
|
||||
|
||||
const ensureNonNullItems = (result: BaseItemDtoQueryResult) => ({
|
||||
...result,
|
||||
|
|
|
@ -35,13 +35,13 @@ type CardOptions = {
|
|||
showChannelName?: boolean,
|
||||
showTitle?: boolean,
|
||||
showYear?: boolean
|
||||
}
|
||||
};
|
||||
|
||||
type SearchResultsRowProps = {
|
||||
title?: string;
|
||||
items?: BaseItemDto[];
|
||||
cardOptions?: CardOptions;
|
||||
}
|
||||
};
|
||||
|
||||
const SearchResultsRow: FunctionComponent<SearchResultsRowProps> = ({ title, items = [], cardOptions = {} }: SearchResultsRowProps) => {
|
||||
const element = useRef<HTMLDivElement>(null);
|
||||
|
|
|
@ -25,7 +25,7 @@ const createSuggestionLink = ({ name, href }: { name: string, href: string }) =>
|
|||
|
||||
type SearchSuggestionsProps = {
|
||||
parentId?: string | null;
|
||||
}
|
||||
};
|
||||
|
||||
const SearchSuggestions: FunctionComponent<SearchSuggestionsProps> = ({ parentId }: SearchSuggestionsProps) => {
|
||||
const [ suggestions, setSuggestions ] = useState<BaseItemDto[]>([]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue