Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts committed Dec 29, 2023
1 parent 6ed95a6 commit 6ad768d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/data/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,11 @@ export const computeHistory = (
];
}
});
Object.keys(stateHistory).forEach((entityId) => {
if (!(entityId in localStateHistory)) {
localStateHistory[entityId] = stateHistory[entityId];
}
});

if (!localStateHistory) {
return { line: [], timeline: [] };
Expand Down

0 comments on commit 6ad768d

Please sign in to comment.