1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-22 09:02:28 +01:00

fix: java version modal default value (#4216)

This commit is contained in:
Boy132 2022-07-01 02:23:40 +02:00 committed by GitHub
parent cc06d1faa9
commit 003afb271b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ const JavaVersionModalFeature = () => {
if (!visible) return;
mutate().then((value) => {
setSelectedVersion(Object.keys(value?.dockerImages || [])[0] || '');
setSelectedVersion(Object.values(value?.dockerImages || [])[0] || '');
});
}, [visible]);