[released bug] Fleet UI: standard query library platforms render prop… (#17712)

This commit is contained in:
RachelElysia
2024-03-22 15:12:19 -04:00
committed by GitHub
parent b5a81f93d9
commit 644dddce4f
2 changed files with 2 additions and 1 deletions
@@ -0,0 +1 @@
- Fixes UI bug to render the query platform correctly for queries imported from the standard query library
@@ -724,7 +724,7 @@ const EditQueryForm = ({
placeholder="Select"
label="Platform"
onChange={onChangeSelectPlatformOptions}
value={lastEditedQueryPlatforms}
value={lastEditedQueryPlatforms.replace(/\s/g, "")} // NOTE: FE requires no whitespace to render UI
multi
wrapperClassName={`${baseClass}__form-field form-field--platform`}
helpText="By default, your query collects data on all compatible platforms."