Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Dec 18, 2024
1 parent 68cbbd5 commit cd88ca7
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,12 @@ qx.Class.define("osparc.dashboard.CardBase", {
}
}

if (sharedGrps.length === 0 && osparc.data.model.Study.canIWrite(accessRights)) {
shareIcon.set({
toolTipText: qx.locale.Manager.tr("Share")
});
if (sharedGrps.length === 0) {
if (osparc.data.model.Study.canIWrite(accessRights)) {
shareIcon.set({
toolTipText: qx.locale.Manager.tr("Share")
});
}
return;
}
const sharedGrpLabels = [];
Expand Down

0 comments on commit cd88ca7

Please sign in to comment.