mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
select the last season in videos list if there is no selected season
This commit is contained in:
parent
d08daac6c0
commit
2487133b78
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ const reducer = (state, action) => {
|
|||
state.selectedSeason
|
||||
:
|
||||
seasons.length > 0 ?
|
||||
seasons[0]
|
||||
seasons[seasons.length - 1]
|
||||
:
|
||||
null;
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue