diff options
Diffstat (limited to 'lib/incoterms')
| -rw-r--r-- | lib/incoterms/table/incoterms-table-toolbar.tsx | 4 | ||||
| -rw-r--r-- | lib/incoterms/table/incoterms-table.tsx | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/incoterms/table/incoterms-table-toolbar.tsx b/lib/incoterms/table/incoterms-table-toolbar.tsx index 698acf59..aa022e03 100644 --- a/lib/incoterms/table/incoterms-table-toolbar.tsx +++ b/lib/incoterms/table/incoterms-table-toolbar.tsx @@ -19,7 +19,7 @@ export function IncotermsTableToolbarActions({ table, onSuccess }: IncotermsTabl return ( <div className="flex items-center gap-2"> {/** 1) 선택된 로우가 있으면 삭제 다이얼로그 */} - {table.getFilteredSelectedRowModel().rows.length > 0 ? ( + {/* {table.getFilteredSelectedRowModel().rows.length > 0 ? ( <DeleteIncotermsDialog incoterms={table .getFilteredSelectedRowModel() @@ -31,7 +31,7 @@ export function IncotermsTableToolbarActions({ table, onSuccess }: IncotermsTabl /> ) : null} - <IncotermsAddDialog onSuccess={onSuccess} /> + <IncotermsAddDialog onSuccess={onSuccess} /> */} {/** 3) Export 버튼 */} <Button diff --git a/lib/incoterms/table/incoterms-table.tsx b/lib/incoterms/table/incoterms-table.tsx index c98de810..0f05edbd 100644 --- a/lib/incoterms/table/incoterms-table.tsx +++ b/lib/incoterms/table/incoterms-table.tsx @@ -116,7 +116,9 @@ export function IncotermsTable({ promises }: IncotermsTableProps) { </DataTableAdvancedToolbar> </DataTable> - <DeleteIncotermsDialog + {/* Non-SAP 에서 일일 동기화 처리하므로, 수동 삭제 및 편집 기능 비활성화 */} + + {/* <DeleteIncotermsDialog open={rowAction?.type === "delete"} onOpenChange={() => setRowAction(null)} incoterms={rowAction?.row.original ? [rowAction?.row.original] : []} @@ -132,7 +134,7 @@ export function IncotermsTable({ promises }: IncotermsTableProps) { onOpenChange={() => setRowAction(null)} data={rowAction?.row.original ?? null} onSuccess={refreshData} - /> + /> */} </> ); }
\ No newline at end of file |
