Skip to content

Commit

Permalink
Merge pull request #254 from ProcessMaker/bugfix/251/change_props_aft…
Browse files Browse the repository at this point in the history
…er_undo

Fix startEvent props update after undo
  • Loading branch information
velkymx authored Feb 25, 2019
2 parents 9915475 + 67f39a8 commit de464cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/inspectors/InspectorPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default {
}, saveDebounce),
defaultInspectorHandler(value, node, setNodeProp) {
/* Go through each property and rebind it to our data */
for (const key in value) {
for (const key in omit(value, ['$type', 'eventDefinitions'])) {
if (node.definition.get(key) !== value[key]) {
setNodeProp(node, key, value[key]);
}
Expand Down

0 comments on commit de464cc

Please sign in to comment.