From defda07c0bb4b0bd444ca8dc4fd3f89322bda0ce Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 3 Oct 2025 04:48:47 +0000
Subject: (대표님) edp, tbe, dolce 등
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

(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 3d8b1438..09745bb0 100644
--- a/components/form-data/form-data-table.tsx
+++ b/components/form-data/form-data-table.tsx
@@ -99,7 +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);
@@ -115,14 +115,14 @@ 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 () => {
       try {
         setIsLoadingStats(true);
         // getFormStatusByVendor 서버 액션 직접 호출
-        const data = await getFormStatusByVendor(projectId, formCode);
+        const data = await getFormStatusByVendor(projectId, contractItemId, formCode);
 
         if (data && data.length > 0) {
           setFormStats(data[0]);
@@ -674,7 +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 */}
@@ -810,7 +810,7 @@ export default function DynamicTable({
           </Card>
         </div>
       </div>
-      )}
+   
 
       <ClientDataTable
         data={tableData}
-- 
cgit v1.2.3

