Fix locked spreadsheets for guest users on checkpoint required

This commit is contained in:
yflory 2023-01-20 16:14:49 +01:00
parent 949a304989
commit 91d781be14
1 changed files with 1 additions and 1 deletions

View File

@ -2993,7 +2993,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
var m = metadataMgr.getChannelMembers().filter(function (str) {
return str.length === 32;
}).length;
if ((m - v) === 1 && !readOnly) {
if ((m - v) === 1 && !readOnly && common.isLoggedIn()) {
var needCp = ooChannel.queue.length > CHECKPOINT_INTERVAL;
APP.initCheckpoint = needCp;
}