From 74843fe598702a9a55f914f2d2d291368a5abb13 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 1 Oct 2025 10:31:23 +0000
Subject: (대표님) dolce 수정, spreadjs 수정 등
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/form-data/form-data-table.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'components/form-data/form-data-table.tsx')

diff --git a/components/form-data/form-data-table.tsx b/components/form-data/form-data-table.tsx
index 591ba66a..3d8b1438 100644
--- a/components/form-data/form-data-table.tsx
+++ b/components/form-data/form-data-table.tsx
@@ -1,7 +1,7 @@
 "use client";
 
 import * as React from "react";
-import { useParams, useRouter } from "next/navigation";
+import { useParams, useRouter, usePathname } from "next/navigation";
 import { useTranslation } from "@/i18n/client";
 
 import { ClientDataTable } from "../client-data-table/data-table";
@@ -99,6 +99,7 @@ export default function DynamicTable({
   const router = useRouter();
   const lng = (params?.lng as string) || "ko";
   const { t } = useTranslation(lng, "engineering");
+  const pathname = usePathname(); 
 
   const [rowAction, setRowAction] =
     React.useState<DataTableRowAction<GenericData> | null>(null);
@@ -114,6 +115,7 @@ export default function DynamicTable({
   const [formStats, setFormStats] = React.useState<FormStatusByVendor | null>(null);
   const [isLoadingStats, setIsLoadingStats] = React.useState(true);
 
+  const isEVCPPath = pathname.includes('evcp');
 
   React.useEffect(() => {
     const fetchFormStats = async () => {
@@ -672,6 +674,7 @@ export default function DynamicTable({
 
   return (
     <>
+      {!isEVCPPath && (
       <div className="mb-6">
         <div className="grid gap-4 md:grid-cols-2 lg:grid-cols-6">
           {/* Tag Count */}
@@ -807,6 +810,7 @@ export default function DynamicTable({
           </Card>
         </div>
       </div>
+      )}
 
       <ClientDataTable
         data={tableData}
-- 
cgit v1.2.3

