fix: java version modal default value (#4216)
This commit is contained in:
parent
cc06d1faa9
commit
003afb271b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ const JavaVersionModalFeature = () => {
|
||||||
if (!visible) return;
|
if (!visible) return;
|
||||||
|
|
||||||
mutate().then((value) => {
|
mutate().then((value) => {
|
||||||
setSelectedVersion(Object.keys(value?.dockerImages || [])[0] || '');
|
setSelectedVersion(Object.values(value?.dockerImages || [])[0] || '');
|
||||||
});
|
});
|
||||||
}, [visible]);
|
}, [visible]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue