Skip to content

Commit

Permalink
fix(module): Clone the props instead of using a reference. (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky authored Feb 16, 2021
1 parent b5d5d42 commit 3faca15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/worker/store/modules/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const actions = {
if (!existingModule) {
module.$id = uuidv4();
module.$moduleName = moduleName;
module.$props = { ...props };
module.$props = JSON.parse(JSON.stringify(props));

module.props = {};

Expand Down

0 comments on commit 3faca15

Please sign in to comment.