mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Make disabled episodes clickable
This commit is contained in:
parent
249f80de22
commit
58e1a17215
1 changed files with 1 additions and 3 deletions
|
@ -168,9 +168,7 @@ function EpisodesView({
|
|||
return (
|
||||
<Menu.Link
|
||||
key={ep.id}
|
||||
onClick={() =>
|
||||
hasAired(ep.air_date) ? playEpisode(ep.id) : null
|
||||
}
|
||||
onClick={() => playEpisode(ep.id)}
|
||||
active={ep.id === meta?.episode?.tmdbId}
|
||||
clickable={hasAired(ep.air_date)}
|
||||
rightSide={rightSide}
|
||||
|
|
Loading…
Reference in a new issue