Fleet UI: Remove edit software option from Android (#37403)
This commit is contained in:
+8
-3
@@ -61,14 +61,19 @@ const buildActionOptions = (
|
||||
isDisabled: !!disableEditAppearanceTooltipContent,
|
||||
tooltipContent: disableEditAppearanceTooltipContent,
|
||||
},
|
||||
{
|
||||
];
|
||||
|
||||
// Hides edit software option only for Android installers, as they are currently non-editable
|
||||
if (!androidSoftwareAvailableForInstall) {
|
||||
options.push({
|
||||
label: "Edit software",
|
||||
value: "edit_software",
|
||||
isDisabled: !!disableEditSoftwareTooltipContent,
|
||||
tooltipContent: disableEditSoftwareTooltipContent,
|
||||
},
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
// Show edit configuration option only for Android installers
|
||||
if (androidSoftwareAvailableForInstall) {
|
||||
options.push({
|
||||
label: "Edit configuration",
|
||||
|
||||
@@ -29,7 +29,6 @@ const SoftwareIcon = ({
|
||||
url,
|
||||
uploadedAt,
|
||||
}: ISoftwareIconProps) => {
|
||||
console.log("name", name, "source", source, "url", url);
|
||||
const classNames = classnames(baseClass, `${baseClass}__${size}`);
|
||||
|
||||
const [imgFailed, setImgFailed] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user