Skip to content

Commit 644dddc

Browse files
authored
[released bug] Fleet UI: standard query library platforms render prop… (#17712)
1 parent b5a81f9 commit 644dddc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fixes UI bug to render the query platform correctly for queries imported from the standard query library

frontend/pages/queries/edit/components/EditQueryForm/EditQueryForm.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ const EditQueryForm = ({
724724
placeholder="Select"
725725
label="Platform"
726726
onChange={onChangeSelectPlatformOptions}
727-
value={lastEditedQueryPlatforms}
727+
value={lastEditedQueryPlatforms.replace(/\s/g, "")} // NOTE: FE requires no whitespace to render UI
728728
multi
729729
wrapperClassName={`${baseClass}__form-field form-field--platform`}
730730
helpText="By default, your query collects data on all compatible platforms."

0 commit comments

Comments
 (0)