fixes: Create app version from is empty if we delete another version. (#7720)

This commit is contained in:
Arpit 2023-10-10 11:27:39 +05:30 committed by GitHub
parent 6750bf559d
commit 3ec5e6d999
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,11 +114,14 @@ export const CustomSelect = ({ ...props }) => {
return (
<>
<CreateVersion
{...props}
showCreateAppVersion={showCreateAppVersion}
setShowCreateAppVersion={setShowCreateAppVersion}
/>
{showCreateAppVersion && (
<CreateVersion
{...props}
showCreateAppVersion={showCreateAppVersion}
setShowCreateAppVersion={setShowCreateAppVersion}
/>
)}
<EditVersion {...props} showEditAppVersion={showEditAppVersion} setShowEditAppVersion={setShowEditAppVersion} />
{/* When we merge this code to EE update the defaultAppEnvironments object with rest of default environments (then delete this comment)*/}
<ConfirmDialog