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

Fix eslint errors

This commit is contained in:
Bill Thornton 2024-08-21 02:54:09 -04:00
parent 018d8d3f83
commit 8a6f33fff8
18 changed files with 48 additions and 48 deletions

View file

@ -13,7 +13,7 @@ export enum CardShape {
Mixed = 'mixed',
MixedSquare = 'mixedSquare',
MixedBackdrop = 'mixedBackdrop',
MixedPortrait = 'mixedPortrait',
MixedPortrait = 'mixedPortrait'
}
export function getSquareShape(enableOverflow = true) {

View file

@ -5,7 +5,7 @@ import type { MediaSourceInfo } from '@jellyfin/sdk/lib/generated-client';
* @param mediaSource The media source.
* @returns _true_ if the media source is an HLS stream, _false_ otherwise.
*/
export function isHls(mediaSource: MediaSourceInfo|null|undefined): boolean {
export function isHls(mediaSource: MediaSourceInfo | null | undefined): boolean {
return mediaSource?.TranscodingSubProtocol?.toUpperCase() === 'HLS'
|| mediaSource?.Container?.toUpperCase() === 'HLS';
}