Skip to content

Commit

Permalink
fix undefined utils ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwarz2030 committed Oct 17, 2021
1 parent 2d7c395 commit 10e8530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const Utils = {
return new Promise((resolve, reject) => {
const versionId = `${change.elementType}/${change.elementId}/${change.element.version}`
if (Utils.versionedElements.has(versionId)) {
resolve(utils.versionedElements.get(versionId))
resolve(Utils.versionedElements.get(versionId))
return
}

Expand Down Expand Up @@ -307,7 +307,7 @@ const Utils = {
elementIds.forEach(elementId => {
const referenceId = `${elementType}/${elementId}`
if (Utils.versionedElements.has(referenceId)) {
results.set(elementId, utils.versionedElements.get(referenceId))
results.set(elementId, Utils.versionedElements.get(referenceId))
}
else if (localElements && localElements.has(elementId)) {
results.set(elementId, localElements.get(elementId))
Expand Down

0 comments on commit 10e8530

Please sign in to comment.