Skip to content

Commit

Permalink
Merge pull request #37 from plastic-io/next
Browse files Browse the repository at this point in the history
fixed bug with property panel update
  • Loading branch information
TonyGermaneri committed Jan 28, 2024
2 parents f573d7a + 5b31fd0 commit d72e66a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/NodePropertiesPanel/NodePropertiesPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default {
},
},
mounted() {
this.node = this.graph.nodes.find(n => n.id === this.nodeId);
this.node = JSON.parse(JSON.stringify(this.graph.nodes.find(n => n.id === this.nodeId)));
},
computed: {
...mapState(useGraphStore, [
Expand Down
2 changes: 1 addition & 1 deletion packages/WssDocumentProvider/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export default class WssDocumentProvider extends EditorModule {
});
// clone graph store to keep provider state up to date
providerState.graph = JSON.parse(JSON.stringify(state.graph));
providerState.localUpdate = false;
});
providerState.localUpdate = false;
});
});
return;
Expand Down

0 comments on commit d72e66a

Please sign in to comment.