From c631f0e4eed44c1b9b84a9084923acb5cb7fedfd Mon Sep 17 00:00:00 2001 From: Kyle Geib Date: Thu, 17 Mar 2022 09:14:29 -0400 Subject: [PATCH] ISSUE-053 - Small change. Retired cars no longer show position in ChyronDriver. Stopped having Norris and Perez retired at the start. --- .../BroadcastGraphics/Chyrons/Driver/ChyronDriver.tsx | 4 ++-- src/features/event/eventSlice.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/BroadcastGraphics/Chyrons/Driver/ChyronDriver.tsx b/src/components/BroadcastGraphics/Chyrons/Driver/ChyronDriver.tsx index b660457..39d12e0 100644 --- a/src/components/BroadcastGraphics/Chyrons/Driver/ChyronDriver.tsx +++ b/src/components/BroadcastGraphics/Chyrons/Driver/ChyronDriver.tsx @@ -1,7 +1,7 @@ import { useSpring } from "@react-spring/web"; import { useDispatch } from "react-redux"; -import { BGChyronDriver, BGChyronSubMode, OpenState } from "../../../../types/state"; +import { BGChyronDriver, BGChyronSubMode, CarStatus, OpenState } from "../../../../types/state"; import { DebugDurationProps } from "../../../../types/style"; import { clearChyrons } from "../../../../features/broadcast/graphics/broadcastGraphicsSlice"; import { theme } from "../../../../shared/theme"; @@ -133,7 +133,7 @@ export function ChyronDriver({ teamColor={teamColor} /> - {showPosFlag && ( + {showPosFlag && car.status !== CarStatus.Retired && (