diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-09 06:27:10 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-09 06:27:10 +0000 |
| commit | 44794a8628997c0d979adb5bd6711cd848b3e397 (patch) | |
| tree | 2d614786aaedf0f26a3ea390d0e2275acba3cacb /lib/rfqs-tech/vendor-table/add-vendor-dialog.tsx | |
| parent | bcc7603a7aea83341728557445fb4bc78129cca2 (diff) | |
(최겸) 기술영업 판교 미팅 이전 rfq-tech 삭제
Diffstat (limited to 'lib/rfqs-tech/vendor-table/add-vendor-dialog.tsx')
| -rw-r--r-- | lib/rfqs-tech/vendor-table/add-vendor-dialog.tsx | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/rfqs-tech/vendor-table/add-vendor-dialog.tsx b/lib/rfqs-tech/vendor-table/add-vendor-dialog.tsx deleted file mode 100644 index 8ec5b9f4..00000000 --- a/lib/rfqs-tech/vendor-table/add-vendor-dialog.tsx +++ /dev/null @@ -1,37 +0,0 @@ -"use client" - -import * as React from "react" -import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog" -import { Button } from "@/components/ui/button" -import { VendorsListTable } from "./vendor-list/vendor-list-table" - -interface VendorsListTableProps { - rfqId: number // so we know which RFQ to insert into - } - - -/** - * A dialog that contains a client-side table or infinite scroll - * for "all vendors," allowing the user to select vendors and add them to the RFQ. - */ -export function AddVendorDialog({ rfqId }: VendorsListTableProps) { - const [open, setOpen] = React.useState(false) - - return ( - <Dialog open={open} onOpenChange={setOpen}> - <DialogTrigger asChild> - <Button size="sm"> - Add Vendor - </Button> - </DialogTrigger> - <DialogContent className="max-w-[90wv] sm:max-h-[80vh] overflow-auto" style={{maxWidth:1600, height:680}}> - <DialogHeader> - <DialogTitle>Add Vendor to RFQ</DialogTitle> - </DialogHeader> - - <VendorsListTable rfqId={rfqId}/> - - </DialogContent> - </Dialog> - ) -}
\ No newline at end of file |
