We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dafd24 commit e019c16Copy full SHA for e019c16
services/static-webserver/client/source/class/osparc/form/tag/TagItem.js
@@ -251,12 +251,7 @@ qx.Class.define("osparc.form.tag.TagItem", {
251
editButton.addListener("execute", () => this.setMode(this.self().modes.EDIT), this);
252
deleteButton.addListener("execute", () => {
253
deleteButton.setFetching(true);
254
- const params = {
255
- url: {
256
- tagId: this.getId()
257
- }
258
- };
259
- osparc.data.Resources.fetch("tags", "delete", params)
+ osparc.store.Tags.getInstance().deleteTag(this.getId())
260
.then(() => this.fireEvent("deleteTag"))
261
.catch(console.error)
262
.finally(() => deleteButton.setFetching(false));
0 commit comments