Skip to content

Commit

Permalink
Allow all uploads to finish, even if some fail
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomes committed Sep 9, 2024
1 parent 9b28685 commit 874c5f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 874c5f5

Please sign in to comment.