From a7c5ef72ddedd8ecc8cc210b55e65acaf65b0027 Mon Sep 17 00:00:00 2001 From: Mohammad Jalali Date: Tue, 30 Jul 2024 10:16:07 +0330 Subject: [PATCH] remove addition columns --- .../dashboard/inquiryPrivacyFencing/index.jsx | 73 ------------------- 1 file changed, 73 deletions(-) diff --git a/src/components/dashboard/inquiryPrivacyFencing/index.jsx b/src/components/dashboard/inquiryPrivacyFencing/index.jsx index 1de7b31..b8a55b5 100644 --- a/src/components/dashboard/inquiryPrivacyFencing/index.jsx +++ b/src/components/dashboard/inquiryPrivacyFencing/index.jsx @@ -8,76 +8,6 @@ import { GET_INQUIRY_PRIVACY_FENCING_ROUTE } from "@/core/utils/routes"; const InquiryPrivacyFencingPage = () => { const columns = useMemo( () => [ - { - accessorKey: "fullname", - header: "نام کامل", - id: "fullname", - columns: [ - { - accessorKey: "first_name", - header: "اسم", - id: "first_name", - columns: [ - { - accessorKey: "part1", - header: "فامیل", - id: "part1", - enableColumnFilter: false, - datatype: "text", - columns: [ - { - accessorKey: "part1_1", - header: "part1_1", - id: "part1_1", - enableColumnFilter: false, - datatype: "text", - }, - { - accessorKey: "part1_2", - header: "part1_2", - id: "part1_2", - enableColumnFilter: false, - datatype: "text", - }, - ], - }, - { - accessorKey: "part2", - header: "part2", - id: "part2", - enableColumnFilter: false, - datatype: "text", - }, - ], - }, - { - accessorKey: "last_name", - header: "last_name", - id: "last_name", - enableColumnFilter: false, - datatype: "text", - }, - ], - }, - { - accessorKey: "something", - header: "something", - id: "something", - columns: [ - { - accessorKey: "something1", - header: "something1", - id: "something1", - }, - { - accessorKey: "something2", - header: "something2", - id: "something2", - enableColumnFilter: false, - datatype: "text", - }, - ], - }, { accessorKey: "dabirkhaneh_number", header: "شماره دبیرخانه درخواست", @@ -85,7 +15,6 @@ const InquiryPrivacyFencingPage = () => { enableColumnFilter: false, datatype: "text", filterFn: "notEquals", - columnFilterModeOptions: ["equals", "notEquals", "contains"], }, { accessorKey: "marjae_pasokh", @@ -94,7 +23,6 @@ const InquiryPrivacyFencingPage = () => { enableColumnFilter: false, datatype: "text", filterFn: "equals", - columnFilterModeOptions: ["equals", "notEquals", "contains", "lessThan", "greaterThan", "fuzzy"], }, { accessorKey: "motaghazi_is_legal", @@ -269,7 +197,6 @@ const InquiryPrivacyFencingPage = () => { header: "ماه", id: "max_month", enableColumnFilter: false, - columnFilterModeOptions: ["equals", "notEquals", "contains"], }, { accessorKey: "max_day",