From 27ea9f8eea17664a9882bef8f144a623ddd69919 Mon Sep 17 00:00:00 2001 From: Paul Adamsen <117673433+pauladamseniii@users.noreply.github.com> Date: Thu, 16 Mar 2023 02:46:01 -0400 Subject: [PATCH] CEC-AddDebugMaskToPrd - allow DebugMask on prd (#290) --- src/components/Cars/Status/Details/index.jsx | 2 +- src/components/Cars/Update/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Cars/Status/Details/index.jsx b/src/components/Cars/Status/Details/index.jsx index 6307310..ac34a8a 100644 --- a/src/components/Cars/Status/Details/index.jsx +++ b/src/components/Cars/Status/Details/index.jsx @@ -33,7 +33,7 @@ const MainForm = ({ vin }) => { } = useUserContext(); const ENV = process.env.REACT_APP_ENV; - const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg') + const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg' || ENV === 'prd') useEffect(() => { (async () => { diff --git a/src/components/Cars/Update/index.jsx b/src/components/Cars/Update/index.jsx index 5302f33..cdbf11d 100644 --- a/src/components/Cars/Update/index.jsx +++ b/src/components/Cars/Update/index.jsx @@ -49,7 +49,7 @@ const MainForm = () => { const debugMaskEl = useRef(null); const ENV = process.env.REACT_APP_ENV; - const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg') + const showDebugMask = (ENV === 'local' || ENV === 'dev' || ENV === 'stg' || ENV === 'prd') useEffect(() => { setTitle("Update Vehicle");