Skip to content

Commit

Permalink
issues/66: fix - added default value for _deleted (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
reusr1 committed Apr 29, 2019
1 parent 54cb04e commit db1995c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
methods: {
onOk(e) {
let data = JSON.parse(JSON.stringify(this.dataModel));
let _deleted = $perAdminApp.getNodeFromView("/state/tools/_deleted");
let _deleted = $perAdminApp.getNodeFromView("/state/tools/_deleted") || {};
//Merge _deleted child items back into the object that we need to save.
//Loop through the model for this object/page/asset and find objects that have children
Expand Down

0 comments on commit db1995c

Please sign in to comment.