From 472145aed6fce1090e56ed4b309c1a1b054b4749 Mon Sep 17 00:00:00 2001 From: iszcz <74706321+iszcz@users.noreply.github.com> Date: Fri, 17 May 2024 12:50:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=B7=E6=A0=BC=E9=A1=B5?= =?UTF-8?q?=EF=BC=8C=E6=94=AF=E6=8C=81=E5=A4=A7=E5=B0=8F=E5=86=99=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E6=90=9C=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/ModelPricing.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web/src/components/ModelPricing.js b/web/src/components/ModelPricing.js index 0692cee..c9f3c27 100644 --- a/web/src/components/ModelPricing.js +++ b/web/src/components/ModelPricing.js @@ -93,10 +93,6 @@ const ModelPricing = () => { onChange: (selectedRowKeys, selectedRows) => { setSelectedRowKeys(selectedRowKeys); }, - getCheckboxProps: record => ({ - disabled: record.name === 'Michael James', // Column configuration not to be checked - name: record.model_name, - }), }), [] ); @@ -158,7 +154,8 @@ const ModelPricing = () => { ); }, - onFilter: (value, record) => record.model_name.includes(value), + onFilter: (value, record) => + record.name.toLowerCase().includes(value.toLowerCase()), filteredValue, }, {