Unreleased bug fix: Hide install options from editing software modal (#25122)

This commit is contained in:
RachelElysia 2025-01-03 10:24:51 -05:00 committed by GitHub
parent c237857f26
commit 58afb100af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -241,12 +241,14 @@ const PackageForm = ({
formData.software ? getFileDetails(formData.software) : undefined
}
/>
<InstallTypeSection
isCustomPackage
isExeCustomPackage={isExePackage}
installType={formData.installType}
onChangeInstallType={onChangeInstallType}
/>
{!isEditingSoftware && (
<InstallTypeSection
isCustomPackage
isExeCustomPackage={isExePackage}
installType={formData.installType}
onChangeInstallType={onChangeInstallType}
/>
)}
<TargetLabelSelector
selectedTargetType={formData.targetType}
selectedCustomTarget={formData.customTarget}