mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-22 16:55:13 +02:00
feat: Added library sorting and pagination, improved image loading and other small adjustments
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
import type { RadarrMovie } from '$lib/apis/radarr/radarrApi';
|
||||
import type { SonarrSeries } from '$lib/apis/sonarr/sonarrApi';
|
||||
import type { TitleType } from '$lib/types';
|
||||
import { DotsVertical } from 'radix-icons-svelte';
|
||||
import Button from '../Button.svelte';
|
||||
import ContextMenuButton from '../ContextMenu/ContextMenuButton.svelte';
|
||||
import LibraryItemContextItems from '../ContextMenu/LibraryItemContextItems.svelte';
|
||||
|
||||
@@ -20,4 +22,7 @@
|
||||
<svelte:fragment slot="menu">
|
||||
<LibraryItemContextItems {jellyfinItem} {sonarrSeries} {radarrMovie} {type} {tmdbId} />
|
||||
</svelte:fragment>
|
||||
<Button slim>
|
||||
<DotsVertical size={24} />
|
||||
</Button>
|
||||
</ContextMenuButton>
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
import { modalStack } from '../../stores/modal.store';
|
||||
|
||||
export let tmdbId: number;
|
||||
export let title: string = '';
|
||||
export let type: TitleType;
|
||||
export let modalId: symbol;
|
||||
|
||||
@@ -26,7 +25,7 @@
|
||||
{#if type === 'movie'}
|
||||
<MoviePage {tmdbId} isModal={true} {handleCloseModal} />
|
||||
{:else}
|
||||
<SeriesPage {tmdbId} {title} isModal={true} {handleCloseModal} />
|
||||
<SeriesPage {tmdbId} isModal={true} {handleCloseModal} />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user