Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien committed May 6, 2024
1 parent 2e16fa6 commit 3b13b16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start-client/src/components/reducer/Initializr.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ const getPersistedOrDefault = json => {
java:
localStorage.getItem('java') || get(json, 'defaultValues.meta.java'),
},
dependencies: [],
}
const checks = ['project', 'language', 'boot', 'meta.java', 'meta.packaging']
checks.forEach(key => {
const item = get(json, `lists.${key}`).find(
const item = get(json, `lists.${key}`)?.find(
it => it.key === get(values, key)
)
if (!item) {
Expand Down

0 comments on commit 3b13b16

Please sign in to comment.