mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Unreleased bug fix: Hide install options from editing software modal (#25122)
This commit is contained in:
parent
c237857f26
commit
58afb100af
1 changed files with 8 additions and 6 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue