diff --git a/frontend/pages/SoftwarePage/components/forms/PackageForm/PackageForm.tsx b/frontend/pages/SoftwarePage/components/forms/PackageForm/PackageForm.tsx index af56499f89..ee7e3fd149 100644 --- a/frontend/pages/SoftwarePage/components/forms/PackageForm/PackageForm.tsx +++ b/frontend/pages/SoftwarePage/components/forms/PackageForm/PackageForm.tsx @@ -260,6 +260,8 @@ const PackageForm = ({ const ext = getExtensionFromFileName(formData?.software?.name || ""); const isExePackage = ext === "exe"; const isTarballPackage = ext === "tar.gz"; + // We currently don't support replacing a tarball package + const canEditFile = isEditingSoftware && !isTarballPackage; // If a user preselects automatic install and then uploads a .exe // which automatic install is not supported, the form will default @@ -279,7 +281,7 @@ const PackageForm = ({