Skip to content

Commit 9956702

Browse files
committed
Fixes
1 parent 578f3b3 commit 9956702

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/SyncModal/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@ const SyncModal = ({ perspectiveId, perspectiveName, onClose, silentMode, action
8686
const syncPoint = localChanges.sync_point * 1000;
8787

8888
for (const changes of [localChanges, foreignChanges]) {
89-
changes.report = {};
89+
changes.report = {'entities': []};
90+
91+
if (!changes.Entity) {
92+
continue;
93+
}
9094

91-
changes.report.entities = [];
9295
for (const [id, entity] of Object.entries(changes.Entity)) {
9396
changes.report.entities.push({
9497
id,

0 commit comments

Comments
 (0)