mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Fleet UI: Update label target copies (#43763)
This commit is contained in:
parent
c3cbea5445
commit
101858e40e
2 changed files with 28 additions and 3 deletions
|
|
@ -6,6 +6,16 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: $pad-medium;
|
||||
|
||||
// Hardcoded to fit all 3 custom target options (Exclude any, Include all,
|
||||
// Include any) without scrolling
|
||||
.Select-menu-outer {
|
||||
max-height: 260px;
|
||||
}
|
||||
|
||||
.Select-menu {
|
||||
max-height: 244px;
|
||||
}
|
||||
}
|
||||
|
||||
&__checkboxes {
|
||||
|
|
|
|||
|
|
@ -188,19 +188,34 @@ export const CUSTOM_TARGET_OPTIONS: IDropdownOption[] = [
|
|||
{
|
||||
value: "labelsIncludeAny",
|
||||
label: "Include any",
|
||||
helpText: "Hosts that have any of the selected labels.",
|
||||
helpText: (
|
||||
<>
|
||||
Software will only be available for install on hosts that{" "}
|
||||
<strong>have any</strong> of these labels.
|
||||
</>
|
||||
),
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
value: "labelsIncludeAll",
|
||||
label: "Include all",
|
||||
helpText: "Hosts that have all of the selected labels.",
|
||||
helpText: (
|
||||
<>
|
||||
Software will only be available for install on hosts that{" "}
|
||||
<strong>have all</strong> of these labels.
|
||||
</>
|
||||
),
|
||||
disabled: false,
|
||||
},
|
||||
{
|
||||
value: "labelsExcludeAny",
|
||||
label: "Exclude any",
|
||||
helpText: "Hosts that don't have any of the selected labels.",
|
||||
helpText: (
|
||||
<>
|
||||
Software will only be available for install on hosts that{" "}
|
||||
<strong>don't have any</strong> of these labels.
|
||||
</>
|
||||
),
|
||||
disabled: false,
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue