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:
parent
cc06d1faa9
commit
003afb271b
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user