Skip to content

Commit

Permalink
Improve performance of warnings updater
Browse files Browse the repository at this point in the history
  • Loading branch information
tkleinke committed Nov 8, 2023
1 parent 182af48 commit 6db30e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/datastore/warnings-updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export module WarningsUpdater {
);
}
}
} else if (document.warnings) {
} else if (document.warnings?.nonUniqueIdentifier) {
delete document.warnings.nonUniqueIdentifier;
if (!Warnings.hasWarnings(document.warnings)) delete document.warnings;
indexFacade.put(document);
Expand Down

0 comments on commit 6db30e2

Please sign in to comment.