From 874c5f587c64163d88f90a5b336c7f6c153c7b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Gomes?= Date: Mon, 9 Sep 2024 14:26:01 +0100 Subject: [PATCH] Allow all uploads to finish, even if some fail --- .../src/components/post-publish-panel/maybe-upload-media.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/post-publish-panel/maybe-upload-media.js b/packages/editor/src/components/post-publish-panel/maybe-upload-media.js index dafddcc28bab30..6b252b9f2b399e 100644 --- a/packages/editor/src/components/post-publish-panel/maybe-upload-media.js +++ b/packages/editor/src/components/post-publish-panel/maybe-upload-media.js @@ -207,7 +207,7 @@ export default function MaybeUploadMediaPanel() { ); // Wait for all blocks to be updated with library media. - Promise.all( + Promise.allSettled( blocksWithExternalMedia.map( ( block ) => { const { url } = getMediaInfo( block );