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 01c557c commit 93ba723Copy full SHA for 93ba723
services/static-webserver/client/source/class/osparc/data/model/Study.js
@@ -551,8 +551,8 @@ qx.Class.define("osparc.data.model.Study", {
551
},
552
553
isLocked: function() {
554
- if (this.getState() && "shareState" in this.getState()) {
555
- return this.getState()["shareState"]["locked"];
+ if (this.getState()) {
+ return osparc.study.Utils.state.isProjectLocked(this.getState());
556
}
557
return false;
558
0 commit comments