diff options
Diffstat (limited to 'lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx')
| -rw-r--r-- | lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx index 20b2703c..0425ccc9 100644 --- a/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx +++ b/lib/techsales-rfq/vendor-response/detail/quotation-response-tab.tsx @@ -17,6 +17,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@ import { Alert, AlertDescription } from "@/components/ui/alert" import { formatDate, cn } from "@/lib/utils" import { toast } from "sonner" +import { useSession } from "next-auth/react" interface QuotationResponseTabProps { quotation: { @@ -75,6 +76,7 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) { }>>([]) const [isUploadingFiles, setIsUploadingFiles] = useState(false) const router = useRouter() + const session = useSession() // // 초기 첨부파일 데이터 로드 // useEffect(() => { @@ -175,7 +177,7 @@ export function QuotationResponseTab({ quotation }: QuotationResponseTabProps) { validUntil: validUntil!, remark, attachments: uploadedFiles, - updatedBy: 1 // TODO: 실제 사용자 ID로 변경 + updatedBy: parseInt(session.data?.user.id || "0") }) if (result.error) { |
