mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 06:54:21 +02:00
fix small bug in the seasons page
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
async function toggle_continuous_download() {
|
||||
let url = new URL(apiUrl + '/tv/shows/' + show().id + '/continuousDownload');
|
||||
url.searchParams.append('continuous_download', !show().continuous_download);
|
||||
url.searchParams.append('continuous_download', String(!show().continuous_download));
|
||||
console.log(
|
||||
'Toggling continuous download for show',
|
||||
show().name,
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
let seasonFiles: PublicSeasonFile[] = $state(page.data.files);
|
||||
let season: Season = $state(page.data.season);
|
||||
let show: Show = getContext('show');
|
||||
let show: ()=> Show = getContext('show');
|
||||
|
||||
console.log('loaded files', seasonFiles);
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>{getFullyQualifiedMediaName(show())} - Season {season().number} - MediaManager</title>
|
||||
<title>{getFullyQualifiedMediaName(show())} - Season {season.number} - MediaManager</title>
|
||||
<meta
|
||||
content="View episodes and manage downloads for {getFullyQualifiedMediaName(
|
||||
show()
|
||||
)} Season {season().number} in MediaManager"
|
||||
)} Season {season.number} in MediaManager"
|
||||
name="description"
|
||||
/>
|
||||
</svelte:head>
|
||||
|
||||
Reference in New Issue
Block a user