Skip to content

Commit

Permalink
npe
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed Sep 19, 2024
1 parent cf2367a commit a442539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/api/utils/shared_doc_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,11 @@ export default class SharedDocUtil extends SharedUtil
if (!opNames) return;
let changed = false;
if (opNames.length > 0) this._log.info("removing", opNames.length, "ops from lookup table");
const cachedLookup = this.getCachedOpLookup();
for (let i = 0; i < opNames.length; i++)
{
const opName = opNames[i];
if (!opName) continue;
const cachedLookup = this.getCachedOpLookup();
if (!cachedLookup || !cachedLookup.ids || !cachedLookup.names)
{
this._log.warn("no cache of op lookup table during rename!");
Expand Down

0 comments on commit a442539

Please sign in to comment.