Fix fixSheets

pull/1/head
yflory 5 years ago
parent 84b5741cdf
commit 6edbe019d6

@ -269,6 +269,8 @@ define([
// so that the messages we send to the realtime channel are // so that the messages we send to the realtime channel are
// loadable by users joining after the checkpoint // loadable by users joining after the checkpoint
var fixSheets = function () { var fixSheets = function () {
var hasDrawings = checkDrawings();
if (hasDrawings) { return; } // XXX we need a migration for old sheets...
try { try {
var editor = getEditor(); var editor = getEditor();
// if we are not in the sheet app // if we are not in the sheet app

Loading…
Cancel
Save