mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Show observer query's OS compatibility (#4140)
This commit is contained in:
parent
1b1d3f8a61
commit
7bca25a803
1
changes/issue-4095-observer-view-compatibility
Normal file
1
changes/issue-4095-observer-view-compatibility
Normal file
@ -0,0 +1 @@
|
||||
* An observer can view a query's operating system compatibility
|
@ -80,6 +80,10 @@ const FleetAce = ({
|
||||
[`${baseClass}__label--with-action`]: !!labelActionComponent,
|
||||
});
|
||||
|
||||
if (!label) {
|
||||
return <></>;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={labelClassName}>
|
||||
<p>{labelText}</p>
|
||||
|
@ -351,6 +351,9 @@ const QueryForm = ({
|
||||
readOnly
|
||||
/>
|
||||
)}
|
||||
<span className={`${baseClass}__platform-compatibility`}>
|
||||
{renderPlatformCompatibility()}
|
||||
</span>
|
||||
{renderLiveQueryWarning()}
|
||||
{lastEditedQueryObserverCanRun && (
|
||||
<div
|
||||
|
Loading…
Reference in New Issue
Block a user