浏览代码

Update Configs.tsx with some changes in getData() method while filtering.

Malav Mevada 1 年之前
父节点
当前提交
8c0d67bd88
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kafka-ui-react-app/src/components/Brokers/Broker/Configs/Configs.tsx

+ 1 - 1
kafka-ui-react-app/src/components/Brokers/Broker/Configs/Configs.tsx

@@ -36,7 +36,7 @@ const Configs: React.FC = () => {
     return data
       .filter((item) => {
         const nameMatch = item.name.toLocaleLowerCase().includes(keyword);
-        return nameMatch ? true : item.value && item.value.includes(keyword); // try to match the keyword on any of the item.value elements when nameMatch fails but item.value exists
+        return nameMatch ? true : item.value && item.value.toLocaleLowerCase().includes(keyword); // try to match the keyword on any of the item.value elements when nameMatch fails but item.value exists
       })
       .sort((a, b) => {
         if (a.source === b.source) return 0;