diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-08 14:19:37 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-08 14:19:37 +0900 |
| commit | 2ac7deb8494cf4123f0cff3321860585a44f157c (patch) | |
| tree | 789b6980c8f863a0f675fad38c4a17d91ba28bf3 /lib/tech-vendors/possible-items/possible-items-toolbar-actions.tsx | |
| parent | 71c0ba1f01b98770ec2c60cdb935ffb36c1830a9 (diff) | |
| parent | e37cce51ccfa3dcb91904b2492df3a29970fadf7 (diff) | |
Merge remote-tracking branch 'origin/sec-patch' into table-v2
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 && ( |
