Skip to content

Commit

Permalink
πŸ› Frontend: Fix Service's More options view
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz authored Apr 12, 2023
1 parent beaa18c commit f241180
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ qx.Class.define("osparc.dashboard.ResourceMoreOptions", {
__getTagsPage: function() {
const id = "Tags";
const resourceData = this.__resourceData;
if (osparc.utils.Resources.isTemplate(resourceData) && !osparc.data.model.Study.canIWrite(resourceData["accessRights"])) {
if (osparc.utils.Resources.isService(resourceData)) {
return null;
}
if (osparc.utils.Resources.isService(resourceData) && !osparc.utils.Services.canIWrite(resourceData["accessRights"])) {
if (!osparc.data.model.Study.canIWrite(resourceData["accessRights"])) {
return null;
}

Expand Down

0 comments on commit f241180

Please sign in to comment.