Skip to content

Commit 52939af

Browse files
committed
fix
1 parent a37efa3 commit 52939af

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ qx.Class.define("osparc.data.model.StudyUI", {
3636
annotations: {},
3737
});
3838

39-
if ("annotations" in studyDataUI) {
39+
if (studyDataUI["annotations"]) {
4040
Object.entries(studyDataUI["annotations"]).forEach(([annotationId, annotationData]) => {
4141
const annotation = new osparc.workbench.Annotation(annotationData, annotationId);
4242
this.addAnnotation(annotation);

0 commit comments

Comments
 (0)