Skip to content

Commit 66394bb

Browse files
committed
Fix Note's Recipient
1 parent 7bf3d3a commit 66394bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/static-webserver/client/source/class/osparc/editor/AnnotationNoteCreator.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ qx.Class.define("osparc.editor.AnnotationNoteCreator", {
8484
allowGrowX: false
8585
});
8686
control.addListener("execute", () => {
87-
const collaboratorsManager = new osparc.share.NewCollaboratorsManager(null, false);
87+
const currentStudy = osparc.store.Store.getInstance().getCurrentStudy().serialize();
88+
currentStudy["resourceType"] = "study";
89+
const collaboratorsManager = new osparc.share.NewCollaboratorsManager(currentStudy, false);
8890
collaboratorsManager.setCaption("Recipient");
8991
collaboratorsManager.getActionButton().setLabel(this.tr("Add"));
9092
collaboratorsManager.addListener("addCollaborators", e => {

0 commit comments

Comments
 (0)