From 520581a8e4cf525f8b868914737e22b1644833d7 Mon Sep 17 00:00:00 2001 From: Mohammad Jalali Date: Sat, 22 Jul 2023 14:35:19 +0330 Subject: [PATCH] translate datepicker filter status --- public/locales/fa/app.json | 5 +++++ src/components/dashboard/passenger-office/index.jsx | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/public/locales/fa/app.json b/public/locales/fa/app.json index bf81001..0fb31db 100644 --- a/public/locales/fa/app.json +++ b/public/locales/fa/app.json @@ -7,6 +7,11 @@ "login_expert": "ورود کارشناس", "expert": "کارشناس", "last_updated_at": "اخرین بروز رسانی", + "filter_mode": "حالت فیلتر", + "date_picker_label": "فیلتر بر اساس تاریخ", + "lessThan": "کوچکتر از", + "greaterThan": "بزرگتر از", + "between": "میان", "header": { "open_profile": "پروفایل", "edit_profile": "ویرایش پروفایل", diff --git a/src/components/dashboard/passenger-office/index.jsx b/src/components/dashboard/passenger-office/index.jsx index 2694501..a85faaf 100644 --- a/src/components/dashboard/passenger-office/index.jsx +++ b/src/components/dashboard/passenger-office/index.jsx @@ -104,6 +104,7 @@ function DashboardPassengerOfficeComponent() { }, Header: ({ column }) => {column.columnDef.header}, Filter: ({ column }) => { + const filterFnValue = column.columnDef._filterFn; return (