From d60a8cbc6efa95c940b0dd9f341cd5a14b8cc8d8 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 23 Mar 2025 22:06:51 -0400 Subject: [PATCH] Hide debug components without permission --- .../components/ValidationContainer.tsx | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/inventory/src/components/product-import/steps/ValidationStepNew/components/ValidationContainer.tsx b/inventory/src/components/product-import/steps/ValidationStepNew/components/ValidationContainer.tsx index 026c6f1..71e8c80 100644 --- a/inventory/src/components/product-import/steps/ValidationStepNew/components/ValidationContainer.tsx +++ b/inventory/src/components/product-import/steps/ValidationStepNew/components/ValidationContainer.tsx @@ -18,6 +18,7 @@ import { useUpcValidation } from '../hooks/useUpcValidation' import { useProductLinesFetching } from '../hooks/useProductLinesFetching' import UpcValidationTableAdapter from './UpcValidationTableAdapter' import { Skeleton } from '@/components/ui/skeleton' +import { Protected } from '@/components/auth/Protected' /** * ValidationContainer component - the main wrapper for the validation step * @@ -1149,15 +1150,17 @@ const ValidationContainer = ({ )}
{/* Show Prompt Button */} - + + + {/* AI Validate Button */}