mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add retry global search link button
This commit is contained in:
parent
1fd314213a
commit
ad01e8669d
4 changed files with 18 additions and 5 deletions
|
@ -110,7 +110,7 @@ export function getTitleFromType(type: BaseItemKind) {
|
|||
export function getItemTypesFromCollectionType(collectionType: CollectionType | undefined) {
|
||||
switch (collectionType) {
|
||||
case CollectionType.Movies:
|
||||
return [BaseItemKind.Movie];
|
||||
return [ BaseItemKind.Movie ];
|
||||
case CollectionType.Tvshows:
|
||||
return [
|
||||
BaseItemKind.Series,
|
||||
|
@ -122,8 +122,6 @@ export function getItemTypesFromCollectionType(collectionType: CollectionType |
|
|||
BaseItemKind.MusicAlbum,
|
||||
BaseItemKind.Audio
|
||||
];
|
||||
case CollectionType.Livetv:
|
||||
return [];
|
||||
default:
|
||||
return [
|
||||
BaseItemKind.Movie,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue