Skip to content

Commit 9557ba0

Browse files
committed
tagsChanged
1 parent 6e1a20a commit 9557ba0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,11 +676,13 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
676676
this.setMultiSelection(false);
677677
});
678678

679-
const store = osparc.store.Store.getInstance();
680-
store.addListener("changeTags", () => {
679+
const tagsStore = osparc.store.Tags.getInstance();
680+
tagsStore.addListener("tagsChanged", e => {
681681
this.invalidateStudies();
682682
this.__reloadStudies();
683683
}, this);
684+
685+
const store = osparc.store.Store.getInstance();
684686
store.addListener("studyStateChanged", e => {
685687
const {
686688
studyId,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ qx.Class.define("osparc.store.Tags", {
119119
.then(accessRightsArray => {
120120
const accessRights = {};
121121
accessRightsArray.forEach(ar => accessRights[ar.gid] = ar);
122-
tag.setAccessRights(accessRights)
122+
tag.setAccessRights(accessRights);
123123
})
124124
.catch(err => console.error(err));
125125
},

0 commit comments

Comments
 (0)