diff --git a/web/src/components/product/ProductRegistrationAlert.tsx b/web/src/components/product/ProductRegistrationAlert.tsx index 4f09c30229..4693a969db 100644 --- a/web/src/components/product/ProductRegistrationAlert.tsx +++ b/web/src/components/product/ProductRegistrationAlert.tsx @@ -50,7 +50,7 @@ export default function ProductRegistrationAlert() { // NOTE: it shouldn't be mounted in these paths, but let's prevent rendering // if so just in case. if (SUPPORTIVE_PATHS.includes(location.pathname)) return; - if (product.registration === "no" || !isEmpty(registration.key)) return; + if (["no", undefined].includes(product.registration) || !isEmpty(registration.key)) return; return (