Browse Source

Make disabled episodes clickable

pull/690/head
Jip Fr 2 years ago
parent
commit
58e1a17215
  1. 4
      src/components/player/atoms/Episodes.tsx

4
src/components/player/atoms/Episodes.tsx

@ -168,9 +168,7 @@ function EpisodesView({ @@ -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…
Cancel
Save