summaryrefslogtreecommitdiff
path: root/components/document-lists
diff options
context:
space:
mode:
Diffstat (limited to 'components/document-lists')
-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 (