Skip to content

Commit 93ba723

Browse files
committed
more refactoring
1 parent 01c557c commit 93ba723

File tree

1 file changed

+2
-2
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/data/model/Study.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,8 @@ qx.Class.define("osparc.data.model.Study", {
551551
},
552552

553553
isLocked: function() {
554-
if (this.getState() && "shareState" in this.getState()) {
555-
return this.getState()["shareState"]["locked"];
554+
if (this.getState()) {
555+
return osparc.study.Utils.state.isProjectLocked(this.getState());
556556
}
557557
return false;
558558
},

0 commit comments

Comments
 (0)