summaryrefslogtreecommitdiff
path: root/lib/vendors/table/update-vendor-sheet.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vendors/table/update-vendor-sheet.tsx')
-rw-r--r--lib/vendors/table/update-vendor-sheet.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vendors/table/update-vendor-sheet.tsx b/lib/vendors/table/update-vendor-sheet.tsx
index 5138d299..d8d4ad67 100644
--- a/lib/vendors/table/update-vendor-sheet.tsx
+++ b/lib/vendors/table/update-vendor-sheet.tsx
@@ -201,7 +201,7 @@ export function UpdateVendorSheet({ vendor, ...props }: UpdateVendorSheetProps)
cashFlowRating: vendor?.cashFlowRating ?? "",
status: (vendor?.status as any) ?? "ACTIVE",
vendorTypeId: vendor?.vendorTypeId ?? undefined,
- isAssociationMember: (vendor as any)?.isAssociationMember || "NONE",
+ isAssociationMember: (vendor as any)?.isAssociationMember ?? "NONE",
// 대표자 정보
representativeName: (vendor as any)?.representativeName ?? "",
@@ -240,7 +240,7 @@ export function UpdateVendorSheet({ vendor, ...props }: UpdateVendorSheetProps)
cashFlowRating: vendor?.cashFlowRating ?? "",
status: (vendor?.status as any) ?? "ACTIVE",
vendorTypeId: vendor?.vendorTypeId ?? undefined,
- isAssociationMember: (vendor as any)?.isAssociationMember || "NONE",
+ isAssociationMember: (vendor as any)?.isAssociationMember ?? "NONE",
// 대표자 정보
representativeName: (vendor as any)?.representativeName ?? "",
@@ -547,7 +547,7 @@ export function UpdateVendorSheet({ vendor, ...props }: UpdateVendorSheetProps)
<Select
value={field.value || "NONE"}
onValueChange={(value) => {
- field.onChange(value === "NONE" ? "" : value);
+ field.onChange(value === "NONE" ? null : value);
}}
>
<SelectTrigger className="w-full">