File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ qx.Class.define("osparc.desktop.MainPage", {
261261 // these operations need to be done after template creation
262262 osparc . store . Study . addCollaborators ( templateData , templateAccessRights ) ;
263263 if ( templateType ) {
264- osparc . store . Study . patchTemplateType ( templateData , templateType )
264+ osparc . store . Study . patchTemplateType ( templateData [ "uuid" ] , templateType )
265265 . then ( ( ) => {
266266 if ( tutorialBrowser && templateType === osparc . data . model . StudyUI . TUTORIAL_TYPE ) {
267267 tutorialBrowser . reloadResources ( false ) ;
Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ qx.Class.define("osparc.store.Study", {
4141 } ) ;
4242 } ,
4343
44- patchTemplateType : function ( templateData , templateType ) {
44+ patchTemplateType : function ( templateId , templateType ) {
4545 const params = {
4646 url : {
47- "studyId" : templateData [ "uuid" ]
47+ "studyId" : templateId
4848 } ,
4949 data : {
5050 "templateType" : templateType ,
You can’t perform that action at this time.
0 commit comments