summaryrefslogtreecommitdiff
path: root/components/document-lists/vendor-doc-list-client.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-06-13 07:08:01 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-06-13 07:08:01 +0000
commitc72d0897f7b37843109c86f61d97eba05ba3ca0d (patch)
tree887dd877f3f8beafa92b4d9a7b16c84b4a5795d8 /components/document-lists/vendor-doc-list-client.tsx
parentff902243a658067fae858a615c0629aa2e0a4837 (diff)
(대표님) 20250613 16시 08분 b-rfq, document 등
Diffstat (limited to 'components/document-lists/vendor-doc-list-client.tsx')
-rw-r--r--components/document-lists/vendor-doc-list-client.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/document-lists/vendor-doc-list-client.tsx b/components/document-lists/vendor-doc-list-client.tsx
index 6ba155a7..4dea591f 100644
--- a/components/document-lists/vendor-doc-list-client.tsx
+++ b/components/document-lists/vendor-doc-list-client.tsx
@@ -34,7 +34,7 @@ export default function VendorDocumentListClient({
)
// projectType 상태 추가
- const [projectType, setProjectType] = React.useState<string>("ship")
+ const [projectType, setProjectType] = React.useState<string>("plant")
// Update selectedContractId when URL changes
React.useEffect(() => {
@@ -48,10 +48,10 @@ export default function VendorDocumentListClient({
const foundProjectType = projects.find(v => v.projectId === projectId)?.projectType || "ship"
setSelectedContractId(contractId)
- setProjectType(foundProjectType)
+ setProjectType("plant")
// Navigate to the contract's documents page
- router.push(`/partners/document-list/${contractId}?projectType=${foundProjectType}`)
+ router.push(`/partners/document-list/${contractId}?projectType=plnat`)
}
return (