diff --git a/start-client/src/components/reducer/Initializr.js b/start-client/src/components/reducer/Initializr.js index 25336e7984..0f77f7c455 100644 --- a/start-client/src/components/reducer/Initializr.js +++ b/start-client/src/components/reducer/Initializr.js @@ -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) {