diff options
Diffstat (limited to 'lib/rfq-last/table/rfq-table.tsx')
| -rw-r--r-- | lib/rfq-last/table/rfq-table.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rfq-last/table/rfq-table.tsx b/lib/rfq-last/table/rfq-table.tsx index e8db116b..974662d9 100644 --- a/lib/rfq-last/table/rfq-table.tsx +++ b/lib/rfq-last/table/rfq-table.tsx @@ -271,16 +271,16 @@ export function RfqTable({ { id: "vendorCount", label: "업체수", type: "number" }, { id: "dueDate", label: "마감일", type: "date" }, { id: "rfqSendDate", label: "발송일", type: "date" }, - ...(rfqCategory === "general" || rfqCategory === "all" ? [ + ...(rfqCategory === "general" ? [ { id: "rfqType", label: "견적 유형", type: "text" }, { id: "rfqTitle", label: "견적 제목", type: "text" }, ] as DataTableAdvancedFilterField<RfqsLastView>[] : []), - ...(rfqCategory === "itb" || rfqCategory === "all" ? [ + ...(rfqCategory === "itb" ? [ { id: "projectCompany", label: "프로젝트 회사", type: "text" }, { id: "projectSite", label: "프로젝트 사이트", type: "text" }, { id: "smCode", label: "SM 코드", type: "text" }, ] as DataTableAdvancedFilterField<RfqsLastView>[] : []), - ...(rfqCategory === "rfq" || rfqCategory === "all" ? [ + ...(rfqCategory === "rfq" ? [ { id: "prNumber", label: "PR 번호", type: "text" }, { id: "prIssueDate", label: "PR 발행일", type: "date" }, { @@ -387,12 +387,12 @@ export function RfqTable({ )} </Button> - {rfqCategory !== "all" && ( + <Badge variant="outline" className="text-sm"> {rfqCategory === "general" ? "일반견적" : rfqCategory === "itb" ? "ITB" : "RFQ"} </Badge> - )} + </div> <div className="flex items-center gap-4"> |
