diff --git a/components/inspectit-ocelot-configurationserver-ui/src/components/views/configuration/documentation/DocumentationView.js b/components/inspectit-ocelot-configurationserver-ui/src/components/views/configuration/documentation/DocumentationView.js index 16664fbf03..5d026a9324 100644 --- a/components/inspectit-ocelot-configurationserver-ui/src/components/views/configuration/documentation/DocumentationView.js +++ b/components/inspectit-ocelot-configurationserver-ui/src/components/views/configuration/documentation/DocumentationView.js @@ -36,7 +36,12 @@ const DocumentationView = () => { ); // derived variables - const agentMappingNames = agentMappings.map((mapping) => mapping.name); + const agentMappingOptions = _(agentMappings) + .sortBy((mapping) => mapping.name.toLowerCase()) + .map((mapping) => { + return { label: mapping.name, value: mapping.name }; + }) + .value(); // initially load the agent mappings useEffect(() => { @@ -127,9 +132,10 @@ const DocumentationView = () => { setSelectedAgentMapping(e.value)} + filter={true} />