Commit 0935a325 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'ntepluhina-fix-design-upload' into 'master'

Fixed a regression in design upload

See merge request gitlab-org/gitlab!44694
parents 2a93706f add7d4ee
......@@ -136,7 +136,7 @@ const addNewDesignToStore = (store, designManagementUpload, query) => {
const newDesigns = currentDesigns
.map(design => {
return designManagementUpload.designs[design.filename] || design;
return designManagementUpload.designs.find(d => d.filename === design.filename) || design;
})
.concat(difference);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment