jupyterlab-ipyflow 0.0.199 → 0.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +8 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -910,7 +910,14 @@ const connectToComm = (session, notebooks, notebook) => {
910
910
  };
911
911
  notebooks.selectionChanged.connect(onSelectionChanged);
912
912
  const debouncedSave = _.debounce(() => {
913
- void notebooks.currentWidget.context.save();
913
+ var _a;
914
+ const notebook = notebooks.currentWidget;
915
+ if ((_a = notebook.model.collaborative) !== null && _a !== void 0 ? _a : false) {
916
+ return;
917
+ }
918
+ else {
919
+ notebook.context.save();
920
+ }
914
921
  }, 200);
915
922
  comm.onMsg = (msg) => {
916
923
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
package/package.json CHANGED
@@ -67,5 +67,5 @@
67
67
  "extension": true,
68
68
  "outputDir": "../../core/ipyflow/resources/labextension/"
69
69
  },
70
- "version": "0.0.199"
70
+ "version": "0.0.200"
71
71
  }