Skip to content
Snippets Groups Projects
Commit e42e2683 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Fix wrapping :icons setting

parent b7aae7b5
No related branches found
No related tags found
No related merge requests found
...@@ -245,7 +245,7 @@ const wrapValues = (settings, currentState) => { ...@@ -245,7 +245,7 @@ const wrapValues = (settings, currentState) => {
return acc return acc
}, {}) }, {})
return { 'tuple': [setting, { ...currentState[setting], ...mapValue }] } return { 'tuple': [setting, { ...currentState[setting], ...mapValue }] }
} else if (type.includes('map')) { } else if (type.includes('map') && !type.includes('list')) {
const mapValue = Object.keys(value).reduce((acc, key) => { const mapValue = Object.keys(value).reduce((acc, key) => {
acc[key] = value[key][1] acc[key] = value[key][1]
return acc return acc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment