From c66d43ae04248e7a7efcbceb714d55d0a8b463de Mon Sep 17 00:00:00 2001 From: Paul Dempsey <76729591+paul-daniel-dempsey@users.noreply.github.com> Date: Thu, 17 Apr 2025 14:07:10 +0100 Subject: [PATCH] feat: Observer card enabled in production --- .../paper-subscription-landing/helpers/shouldShowObserver.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support-frontend/assets/pages/paper-subscription-landing/helpers/shouldShowObserver.ts b/support-frontend/assets/pages/paper-subscription-landing/helpers/shouldShowObserver.ts index 5f6d66333b..67e8d729cd 100644 --- a/support-frontend/assets/pages/paper-subscription-landing/helpers/shouldShowObserver.ts +++ b/support-frontend/assets/pages/paper-subscription-landing/helpers/shouldShowObserver.ts @@ -1,10 +1,10 @@ -import { isCode } from 'helpers/urls/url'; +import { isCode, isProd } from 'helpers/urls/url'; const shouldShowObserverCard = () => { const searchParams = new URLSearchParams(window.location.search); const enableObserver = searchParams.get('enableObserver') === 'true'; - return enableObserver || isCode(); + return enableObserver || isCode() || isProd(); }; export default shouldShowObserverCard;