fix: hide presentation target status outside demo arc

This commit is contained in:
lda
2026-07-12 15:15:21 +07:00 Verified
parent 8926cb9aef
commit e5e44dd6bd
3 changed files with 36 additions and 1 deletions
@@ -3,6 +3,7 @@ import { SceneProgress } from "./SceneProgress.js";
import { EvidenceReceipt } from "./evidence/EvidenceReceipt.js";
import { PresentationTruthBadge } from "./PresentationTruthBadge.js";
import type { PresentationTargetHealth } from "./presentation-target-status.js";
import { isDemoChromeScene } from "./presentation-demo-chrome.js";
import type { MainLocation } from "./storyboard.js";
type PresentationFooterProps = {
@@ -22,7 +23,7 @@ export const PresentationFooter = ({
}: PresentationFooterProps) => (
<footer className="presentation-footer" aria-label="presentation footer">
<SceneProgress location={location} />
<PresentationTruthBadge status={targetStatus} />
{isDemoChromeScene(location.sceneId) && <PresentationTruthBadge status={targetStatus} />}
<EvidenceReceipt
records={evidence}
visible={showEvidenceReceipt}