Problem
PR #810 correctly gates the AddPlotButton and API on has_deadline, but the DeadlineCountdown component is still rendered for ALL storylines with a last_plot_time — regardless of has_deadline. Storylines without deadlines show a misleading countdown timer.
Affected locations
src/app/story/[storylineId]/page.tsx (~line 357): renders DeadlineCountdown when !storyline.sunset && storyline.last_plot_time — no has_deadline check
src/app/profile/[address]/page.tsx (~line 947): same pattern, no has_deadline check
Solution
Add storyline.has_deadline && to the condition before rendering DeadlineCountdown in both files.
Acceptance Criteria
Branch
task/<issue>-hide-countdown-no-deadline
Problem
PR #810 correctly gates the AddPlotButton and API on
has_deadline, but theDeadlineCountdowncomponent is still rendered for ALL storylines with alast_plot_time— regardless ofhas_deadline. Storylines without deadlines show a misleading countdown timer.Affected locations
src/app/story/[storylineId]/page.tsx(~line 357): renders DeadlineCountdown when!storyline.sunset && storyline.last_plot_time— nohas_deadlinechecksrc/app/profile/[address]/page.tsx(~line 947): same pattern, nohas_deadlinecheckSolution
Add
storyline.has_deadline &&to the condition before renderingDeadlineCountdownin both files.Acceptance Criteria
has_deadline=truehas_deadline=trueBranch
task/<issue>-hide-countdown-no-deadline