dont show watched toggle for current ep

This commit is contained in:
Pas 2025-07-21 11:03:35 -06:00
parent 95697d98af
commit f42e87dcc8

View file

@ -367,7 +367,7 @@ export function EpisodesView({
clickable={isAired} clickable={isAired}
rightSide={ rightSide={
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
{isAired && ( {isAired && !isActive && (
<button <button
type="button" type="button"
onClick={(e) => toggleWatchStatus(ep.id, e)} onClick={(e) => toggleWatchStatus(ep.id, e)}
@ -456,7 +456,7 @@ export function EpisodesView({
</div> </div>
{/* Mark as watched button */} {/* Mark as watched button */}
{isAired && ( {isAired && !isActive && (
<div className="absolute top-2 right-2"> <div className="absolute top-2 right-2">
<button <button
type="button" type="button"
@ -584,7 +584,7 @@ export function EpisodesView({
</div> </div>
{/* Mark as watched button */} {/* Mark as watched button */}
{isAired && ( {isAired && !isActive && (
<div className="absolute top-2 right-2"> <div className="absolute top-2 right-2">
<button <button
type="button" type="button"