diff --git a/src/manager/documents.js b/src/manager/documents.js index a6ec490d1..f00063638 100644 --- a/src/manager/documents.js +++ b/src/manager/documents.js @@ -151,7 +151,7 @@ export const documents = new Svue({ return getDocumentsByCondition((doc) => doc.readable, documents); }, numProcessing(pending) { - return pending && pending.length; + return (pending && pending.length) || 0; }, rawDoneProcessing(numProcessing) { // Wait a second before modulating value