mirror of
https://github.com/fleetdm/fleet
synced 2026-05-21 16:08:47 +00:00
Fleet UI: Small bug fix tooltip position (#11509)
This commit is contained in:
parent
619be587ac
commit
ae0ef2a00f
3 changed files with 2 additions and 3 deletions
1
changes/issue-11341-fix-tooltip-position
Normal file
1
changes/issue-11341-fix-tooltip-position
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Small style change (tooltip on host details software positioned above to not cover next line of software info)
|
||||
|
|
@ -120,7 +120,6 @@ const setOptionsAsDisabled = (
|
|||
};
|
||||
|
||||
let optionsToDisable: IDropdownOption[] = [];
|
||||
console.log("options to disable: ", optionsToDisable);
|
||||
if (!isHostOnline) {
|
||||
optionsToDisable = optionsToDisable.concat(
|
||||
options.filter(
|
||||
|
|
@ -128,14 +127,12 @@ const setOptionsAsDisabled = (
|
|||
)
|
||||
);
|
||||
}
|
||||
console.log("options to disable: ", optionsToDisable);
|
||||
if (isSandboxMode) {
|
||||
optionsToDisable = optionsToDisable.concat(
|
||||
options.filter((option) => option.value === "transfer")
|
||||
);
|
||||
}
|
||||
|
||||
console.log("options to disable: ", optionsToDisable);
|
||||
disableOptions(optionsToDisable);
|
||||
return options;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ const condenseVulnerabilities = (vulns: string[]): string[] => {
|
|||
const renderBundleTooltip = (name: string, bundle: string) => (
|
||||
<span className="name-container">
|
||||
<TooltipWrapper
|
||||
position="top"
|
||||
tipContent={`
|
||||
<span>
|
||||
<b>Bundle identifier: </b>
|
||||
|
|
|
|||
Loading…
Reference in a new issue