diff --git a/frontend/pages/SoftwarePage/components/cards/SoftwareDetailsSummary/SoftwareDetailsSummary.tsx b/frontend/pages/SoftwarePage/components/cards/SoftwareDetailsSummary/SoftwareDetailsSummary.tsx index f82635969e..367f190617 100644 --- a/frontend/pages/SoftwarePage/components/cards/SoftwareDetailsSummary/SoftwareDetailsSummary.tsx +++ b/frontend/pages/SoftwarePage/components/cards/SoftwareDetailsSummary/SoftwareDetailsSummary.tsx @@ -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", diff --git a/frontend/pages/SoftwarePage/components/icons/SoftwareIcon/SoftwareIcon.tsx b/frontend/pages/SoftwarePage/components/icons/SoftwareIcon/SoftwareIcon.tsx index c9b1332a39..79c4bdaac3 100644 --- a/frontend/pages/SoftwarePage/components/icons/SoftwareIcon/SoftwareIcon.tsx +++ b/frontend/pages/SoftwarePage/components/icons/SoftwareIcon/SoftwareIcon.tsx @@ -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);