File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -287,9 +287,9 @@ qx.Class.define("osparc.form.tag.TagItem", {
287287 params . url = {
288288 tagId : this . getId ( )
289289 } ;
290- fetch = osparc . data . Resources . fetch ( "tags" , "put" , params ) ;
290+ fetch = osparc . store . Tags . getInstance ( ) . putTag ( this . getId ( ) , data ) ;
291291 } else {
292- fetch = osparc . data . Resources . fetch ( "tags" , "post" , params ) ;
292+ fetch = osparc . store . Tags . getInstance ( ) . postTag ( data ) ;
293293 }
294294 fetch
295295 . then ( tag => this . set ( tag ) )
Original file line number Diff line number Diff line change @@ -55,12 +55,7 @@ qx.Class.define("osparc.store.Tags", {
5555 return this . tagsCached ;
5656 } ,
5757
58- postTag : function ( name , parentTagId = null , workspaceId = null ) {
59- const newTagData = {
60- name,
61- parentTagId,
62- workspaceId,
63- } ;
58+ postTag : function ( newTagData ) {
6459 const params = {
6560 data : newTagData
6661 } ;
You can’t perform that action at this time.
0 commit comments