Make disabled episodes clickable

This commit is contained in:
Jip Fr 2024-01-02 20:29:19 +01:00
parent 249f80de22
commit 58e1a17215

View File

@ -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}