diff --git a/service-providers/fastboard/src/file-insert.ts b/service-providers/fastboard/src/file-insert.ts index a80e1778e97..d00c3465dcb 100644 --- a/service-providers/fastboard/src/file-insert.ts +++ b/service-providers/fastboard/src/file-insert.ts @@ -224,19 +224,6 @@ export async function insertDocs( } return; } - - if (convertingStatus.prefix) { - // new Projector PPTX conversion - await fastboardApp.insertDocs({ - fileType: "pptx", - title: file.fileName, - scenePath: `/${taskUUID}/${uuidv4()}`, - taskId: taskUUID!, - url: convertingStatus.prefix, - }); - return; - } - if (convertingStatus.images) { // other docs await fastboardApp.manager.addApp({ @@ -249,6 +236,18 @@ export async function insertDocs( }); return; } + + if (convertingStatus.prefix) { + // new Projector PPTX conversion + await fastboardApp.insertDocs({ + fileType: "pptx", + title: file.fileName, + scenePath: `/${taskUUID}/${uuidv4()}`, + taskId: taskUUID!, + url: convertingStatus.prefix, + }); + return; + } } }