diff --git a/package.json b/package.json index 07bff4d..ef38130 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "siteforge", "private": true, - "version": "2.45.2", + "version": "2.45.3", "type": "module", "scripts": { "dev": "vite", diff --git a/src/App.tsx b/src/App.tsx index 6d7ccd2..043c6e9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2241,7 +2241,9 @@ function EpisodesPage({ content }: { content: SiteContent }) { ) const { episodes, loading } = useAllEpisodes() const [query, setQuery] = useState('') - const [season, setSeason] = useState('all') + // Until a chip is picked, browse the current series' season (all episodes if none is set) + const [pickedSeason, setSeason] = useState(null) + const season = pickedSeason ?? (content.seriesSeason ? String(content.seriesSeason) : 'all') const [expanded, setExpanded] = useState(false) const [openKey, setOpenKey] = useState(null)