File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ export default {
126126 MOBILE_ORIENTATION_LANDSCAPE : 'landscape' ,
127127
128128 // build status
129+ BUILD_RUNNING : 'running' ,
129130 BUILD_COMPLETE : 'completed' ,
130131 BUILD_ERROR : 'error' ,
131132
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ export function startPdfPolling(ctx: Context) {
545545 try {
546546 const response = await ctx . client . fetchPdfResults ( ctx ) ;
547547
548- if ( response . screenshots && response . build ?. build_status === constants . BUILD_COMPLETE ) {
548+ if ( response . screenshots && response . build ?. build_status !== constants . BUILD_RUNNING ) {
549549 clearInterval ( interval ) ;
550550
551551 const pdfGroups = groupScreenshotsByPdf ( response . screenshots ) ;
You can’t perform that action at this time.
0 commit comments