Fix error in create version modal (#2942)

This commit fixes a bug that occurs in the app version modal popup when
an existing version is chosen from the dropdown menu.

Fixes #2941
This commit is contained in:
David Volquartz Lebech 2022-05-02 12:36:39 +02:00 committed by GitHub
parent e8e20baf55
commit ba32c63edb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,7 @@ const CreateVersionModal = function CreateVersionModal({
}
};
const options = appVersions.map((version) => {
return { ...version, label: version.name, value: version.name };
return { ...version, label: version.name, value: version };
});
const width = '100%';
const height = 32;