Skip to content

Commit cd88ca7

Browse files
committed
minor
1 parent 68cbbd5 commit cd88ca7

File tree

1 file changed

+6
-4
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,12 @@ qx.Class.define("osparc.dashboard.CardBase", {
194194
}
195195
}
196196

197-
if (sharedGrps.length === 0 && osparc.data.model.Study.canIWrite(accessRights)) {
198-
shareIcon.set({
199-
toolTipText: qx.locale.Manager.tr("Share")
200-
});
197+
if (sharedGrps.length === 0) {
198+
if (osparc.data.model.Study.canIWrite(accessRights)) {
199+
shareIcon.set({
200+
toolTipText: qx.locale.Manager.tr("Share")
201+
});
202+
}
201203
return;
202204
}
203205
const sharedGrpLabels = [];

0 commit comments

Comments
 (0)