Commit add7d4ee authored by NataliaTepluhina's avatar NataliaTepluhina

Fixed a regression in design upload

parent 3ff726e3
......@@ -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