feat: refetch errored/pending images on collab room init load (#5833)

This commit is contained in:
David Luzar
2022-11-05 15:55:14 +01:00
committed by GitHub
parent 0228646507
commit 938ce241ff
2 changed files with 15 additions and 3 deletions

View File

@@ -285,6 +285,7 @@ const ExcalidrawWrapper = () => {
collabAPI
.fetchImageFilesFromFirebase({
elements: data.scene.elements,
forceFetchFiles: true,
})
.then(({ loadedFiles, erroredFiles }) => {
excalidrawAPI.addFiles(loadedFiles);