Fix fixSheets

This commit is contained in:
yflory 2020-05-05 15:03:20 +02:00
parent 84b5741cdf
commit 6edbe019d6

View file

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