You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2023/12/11 04:36:59 UTC
(incubator-devlake) branch main updated: fix(config-ui): search icon error in data scope remote local (#6598)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 82110b37b fix(config-ui): search icon error in data scope remote local (#6598)
82110b37b is described below
commit 82110b37bb229ba5fc77e0717b0d5fc8d6d3c382
Author: 青湛 <0x...@gmail.com>
AuthorDate: Mon Dec 11 12:36:55 2023 +0800
fix(config-ui): search icon error in data scope remote local (#6598)
---
config-ui/src/plugins/components/data-scope-remote/search-local.tsx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config-ui/src/plugins/components/data-scope-remote/search-local.tsx b/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
index 9dd819b58..f3df2c8f2 100644
--- a/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
+++ b/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
@@ -17,7 +17,7 @@
*/
import { useState, useEffect, useMemo } from 'react';
-import { CheckCircleFilled } from '@ant-design/icons';
+import { CheckCircleFilled, SearchOutlined } from '@ant-design/icons';
import { Form, Space, Tag, Button, Input, Modal, message } from 'antd';
import type { McsID, McsItem, McsColumn } from 'miller-columns-select';
import { MillerColumnsSelect } from 'miller-columns-select';
@@ -231,7 +231,9 @@ export const SearchLocal = ({ plugin, connectionId, config, disabledScope, selec
)}
</Form.Item>
<Form.Item>
- {status === 'loaded' && <Input prefix="search" value={query} onChange={(e) => setQuery(e.target.value)} />}
+ {status === 'loaded' && (
+ <Input prefix={<SearchOutlined rev={undefined} />} value={query} onChange={(e) => setQuery(e.target.value)} />
+ )}
<MillerColumnsSelect
items={scopes}
columnCount={search ? 1 : config.millerColumn?.columnCount ?? 1}