Episodes: Browse Episodes defaults to the current series' season; v2.45.3
Publish Container / build (push) Successful in 16m53s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-19 11:37:35 -04:00
1 parent e2cd66386b
commit a11adf8ad2
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "siteforge",
"private": true,
"version": "2.45.2",
"version": "2.45.3",
"type": "module",
"scripts": {
"dev": "vite",
+3 -1
View File
@@ -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<string | null>(null)
const season = pickedSeason ?? (content.seriesSeason ? String(content.seriesSeason) : 'all')
const [expanded, setExpanded] = useState(false)
const [openKey, setOpenKey] = useState<string | null>(null)