This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch fix-bugs in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit f3ae5faef1f29950102d137cb8cae65eb43ae609 Author: mintsweet <[email protected]> AuthorDate: Wed Dec 27 17:02:50 2023 +1300 fix(config-ui): missed field name in data scope select --- config-ui/src/plugins/components/data-scope-select/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-ui/src/plugins/components/data-scope-select/index.tsx b/config-ui/src/plugins/components/data-scope-select/index.tsx index fff01e773..9e1559e37 100644 --- a/config-ui/src/plugins/components/data-scope-select/index.tsx +++ b/config-ui/src/plugins/components/data-scope-select/index.tsx @@ -139,7 +139,7 @@ export const DataScopeSelect = ({ loading={!ready} showSearch mode="multiple" - options={searchItems.map((it) => ({ label: it.fullName, value: getPluginScopeId(plugin, it) }))} + options={searchItems.map((it) => ({ label: it.fullName ?? it.name, value: getPluginScopeId(plugin, it) }))} value={selectedIds} onChange={(value) => setSelectedIds(value)} onSearch={(value) => setQuery(value)}
