Skip to content

Commit 5061495

Browse files
committed
minor
1 parent 0bd93cb commit 5061495

File tree

1 file changed

+5
-1
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+5
-1
lines changed

services/static-webserver/client/source/class/osparc/data/model/Workbench.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,13 @@ qx.Class.define("osparc.data.model.Workbench", {
794794
// the node was removed
795795
return;
796796
}
797-
798797
// use the node data that was used to check the diffs
799798
const nodeData = workbenchSource[nodeId];
799+
if (!nodeData) {
800+
// skip if nodeData is undefined or null
801+
return;
802+
}
803+
800804
let patchData = {};
801805
if (workbenchDiffs[nodeId] instanceof Array) {
802806
// if workbenchDiffs is an array means that the node was added

0 commit comments

Comments
 (0)