Skip to content

Commit 7bfb913

Browse files
committed
put and post Tag
1 parent f939f83 commit 7bfb913

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/form/tag/TagItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ qx.Class.define("osparc.form.tag.TagItem", {
286286
fetch = osparc.store.Tags.getInstance().postTag(data);
287287
}
288288
fetch
289-
.then(tag => this.set(tag))
289+
.then(tag => this.setTag(tag))
290290
.catch(console.error)
291291
.finally(() => {
292292
this.fireEvent("tagSaved");

services/static-webserver/client/source/class/osparc/store/Tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ qx.Class.define("osparc.store.Tags", {
9393
};
9494
return osparc.data.Resources.getInstance().fetch("tags", "put", params)
9595
.then(tagData => {
96-
this.__addToCache(tagData);
96+
return this.__addToCache(tagData);
9797
})
9898
.catch(console.error);
9999
},

0 commit comments

Comments
 (0)