summaryrefslogtreecommitdiff
path: root/lib/basic-contract/gtc-vendor/clause-table.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/basic-contract/gtc-vendor/clause-table.tsx')
-rw-r--r--lib/basic-contract/gtc-vendor/clause-table.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/basic-contract/gtc-vendor/clause-table.tsx b/lib/basic-contract/gtc-vendor/clause-table.tsx
index a9230cd4..88b1f45c 100644
--- a/lib/basic-contract/gtc-vendor/clause-table.tsx
+++ b/lib/basic-contract/gtc-vendor/clause-table.tsx
@@ -30,6 +30,8 @@ interface GtcClausesTableProps {
Awaited<ReturnType<typeof getGtcClauses>>,
Awaited<ReturnType<typeof getUsersForFilter>>,
Awaited<ReturnType<typeof getVendorClausesForDocument>>,
+ Vendor | null, // vendor 데이터 추가
+
]
>
,
@@ -46,7 +48,7 @@ export function GtcClausesVendorTable({
vendorId,
vendorName
}: GtcClausesTableProps) {
- const [{ data, pageCount }, users, vendorData] = React.use(promises)
+ const [{ data, pageCount }, users, vendorData, vendor] = React.use(promises)
const [rowAction, setRowAction] =
@@ -195,6 +197,7 @@ export function GtcClausesVendorTable({
table={table}
documentId={documentId}
document={document}
+ vendor={vendor}
/>
</DataTableAdvancedToolbar>
</DataTable>