Skip to content

Commit 87ad476

Browse files
committed
Fix New Tag
1 parent febe7e8 commit 87ad476

File tree

1 file changed

+1
-1
lines changed
  • services/static-webserver/client/source/class/osparc/form/tag

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ qx.Class.define("osparc.form.tag.TagManager", {
8282
allowGrowX: false
8383
});
8484
addTagButton.addListener("execute", () => {
85+
this.__repopulateTags();
8586
const newItem = new osparc.form.tag.TagItem().set({
8687
mode: osparc.form.tag.TagItem.modes.EDIT
8788
});
8889
newItem.addListener("tagSaved", () => this.__repopulateTags(), this);
8990
newItem.addListener("cancelNewTag", e => tagsContainer.remove(e.getTarget()), this);
9091
newItem.addListener("deleteTag", e => tagsContainer.remove(e.getTarget()), this);
9192
tagsContainer.add(newItem);
92-
this.__repopulateTags();
9393
});
9494
this._add(addTagButton);
9595

0 commit comments

Comments
 (0)