feat: pass localElements to restore and restoreElement API's and bump versions of duplicate elements on import (#3797)

This commit is contained in:
David Luzar
2021-07-04 22:23:35 +02:00
committed by GitHub
parent 038e9c13dd
commit 097362662d
14 changed files with 164 additions and 61 deletions

View File

@ -201,7 +201,7 @@ export const actionLoadScene = register({
const {
elements: loadedElements,
appState: loadedAppState,
} = await loadFromJSON(appState);
} = await loadFromJSON(appState, elements);
return {
elements: loadedElements,
appState: loadedAppState,