Skip to content

Commit 07aa4f9

Browse files
authored
Revert "Fix: Collaborative model" (#683)
Revert "Fix: Collaborative model (#682)" This reverts commit 4edd89e.
1 parent 4edd89e commit 07aa4f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/schema/src/model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export class JupyterCadModel implements IJupyterCadModel {
3535
this._pathChanged = new Signal<JupyterCadModel, string>(this);
3636
}
3737

38-
readonly collaborative = true;
38+
readonly collaborative =
39+
document.querySelectorAll('[data-jupyter-lite-root]')[0] === undefined;
3940

4041
get sharedModel(): IJupyterCadDoc {
4142
return this._sharedModel;

0 commit comments

Comments
 (0)