We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8d037 commit cd29a8aCopy full SHA for cd29a8a
services/static-webserver/client/source/class/osparc/share/Collaborators.js
@@ -341,6 +341,12 @@ qx.Class.define("osparc.share.Collaborators", {
341
) {
342
let msg = this.tr("Collaborator can't be removed:");
343
msg += this._serializedDataCopy["name"] + this.tr(" needs at least one owner.");
344
+ if (
345
+ Object.keys(this._serializedDataCopy["accessRights"]).length === 1 &&
346
+ Object.values(this._serializedDataCopy["accessRights"])[0]["delete"]
347
+ ) {
348
+ msg += "<br>" + this.tr("You might want to delete it instead.");
349
+ }
350
osparc.FlashMessenger.logError(msg);
351
return;
352
}
0 commit comments