Show observer query's OS compatibility (#4140)

This commit is contained in:
RachelElysia 2022-02-10 10:40:04 -06:00 committed by GitHub
parent 1b1d3f8a61
commit 7bca25a803
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
* An observer can view a query's operating system compatibility

View File

@ -80,6 +80,10 @@ const FleetAce = ({
[`${baseClass}__label--with-action`]: !!labelActionComponent,
});
if (!label) {
return <></>;
}
return (
<div className={labelClassName}>
<p>{labelText}</p>

View File

@ -351,6 +351,9 @@ const QueryForm = ({
readOnly
/>
)}
<span className={`${baseClass}__platform-compatibility`}>
{renderPlatformCompatibility()}
</span>
{renderLiveQueryWarning()}
{lastEditedQueryObserverCanRun && (
<div