From b7d7a8012b2b8b993dd0362d840733a780d00119 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Fri, 3 Apr 2026 15:10:41 +0100 Subject: [PATCH] [#812] Hide DeadlineCountdown for storylines without deadlines Add has_deadline guard before rendering DeadlineCountdown in both storyline page stat box and profile page storyline card. Storylines with has_deadline=false no longer show a misleading countdown timer. Fixes #812 Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/profile/[address]/page.tsx | 2 +- src/app/story/[storylineId]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/profile/[address]/page.tsx b/src/app/profile/[address]/page.tsx index cc09eeea..d1acbe49 100644 --- a/src/app/profile/[address]/page.tsx +++ b/src/app/profile/[address]/page.tsx @@ -944,7 +944,7 @@ function StoryRow({ {/* Status + Created + Deadline */}
- {!storyline.sunset && storyline.last_plot_time && ( + {!storyline.sunset && storyline.has_deadline && storyline.last_plot_time && ( <> ยท diff --git a/src/app/story/[storylineId]/page.tsx b/src/app/story/[storylineId]/page.tsx index e83eb57b..4feffef9 100644 --- a/src/app/story/[storylineId]/page.tsx +++ b/src/app/story/[storylineId]/page.tsx @@ -354,7 +354,7 @@ function StoryHeader({
{storyline.plot_count}
Complete
- ) : storyline.last_plot_time ? ( + ) : storyline.has_deadline && storyline.last_plot_time ? ( <>