Skip to content

Commit 8c9b852

Browse files
authored
fix(config-ui): use fullname to replace name in data scope search (#6605)
1 parent ace5afe commit 8c9b852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • config-ui/src/plugins/components/data-scope-select

config-ui/src/plugins/components/data-scope-select/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const DataScopeSelect = ({
138138
<MultiSelector
139139
loading={!ready}
140140
items={searchItems}
141-
getName={(it) => it.name}
141+
getName={(it) => it.fullName ?? it.name}
142142
getKey={(it) => getPluginScopeId(plugin, it)}
143143
noResult="No Data Scopes Available."
144144
onQueryChange={(query) => setQuery(query)}

0 commit comments

Comments
 (0)