mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 04:51:48 +01:00
Make disabled episodes clickable
This commit is contained in:
parent
249f80de22
commit
58e1a17215
@ -168,9 +168,7 @@ function EpisodesView({
|
|||||||
return (
|
return (
|
||||||
<Menu.Link
|
<Menu.Link
|
||||||
key={ep.id}
|
key={ep.id}
|
||||||
onClick={() =>
|
onClick={() => playEpisode(ep.id)}
|
||||||
hasAired(ep.air_date) ? playEpisode(ep.id) : null
|
|
||||||
}
|
|
||||||
active={ep.id === meta?.episode?.tmdbId}
|
active={ep.id === meta?.episode?.tmdbId}
|
||||||
clickable={hasAired(ep.air_date)}
|
clickable={hasAired(ep.air_date)}
|
||||||
rightSide={rightSide}
|
rightSide={rightSide}
|
||||||
|
Loading…
Reference in New Issue
Block a user