diff options
Diffstat (limited to 'lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx')
| -rw-r--r-- | lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx b/lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx index 49a673ff..428f4ce5 100644 --- a/lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx +++ b/lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx @@ -39,14 +39,16 @@ import { interface PossibleItemsTableToolbarActionsProps { table: Table<TechVendorPossibleItem> vendorId: number - onAdd: () => void // 주석처리 + onAdd: () => void + onConnect: () => void onRefresh?: () => void // 데이터 새로고침 콜백 } export function PossibleItemsTableToolbarActions({ table, vendorId, - onAdd, // 주석처리 + onAdd, + onConnect, onRefresh, }: PossibleItemsTableToolbarActionsProps) { const [showDeleteAlert, setShowDeleteAlert] = React.useState(false) @@ -362,7 +364,16 @@ export function PossibleItemsTableToolbarActions({ onClick={onAdd} > <Plus className="mr-2 h-4 w-4" /> - 아이템 연결 + 기존 아이템 연결 + </Button> + + <Button + variant="outline" + size="sm" + onClick={onConnect} + > + <Plus className="mr-2 h-4 w-4" /> + 아이템-벤더 연결 </Button> {selectedRows.length > 0 && ( |
