Fleet UI: Small bug fix tooltip position (#11509)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user