mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 01:32:23 +00:00
dont show watched toggle for current ep
This commit is contained in:
parent
95697d98af
commit
f42e87dcc8
1 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue