2
0
yohei0125 4 жил өмнө
parent
commit
3c6b8bc554

+ 4 - 0
packages/app/src/server/service/page.ts

@@ -605,6 +605,10 @@ class PageService {
     if (pageOp == null) {
       throw Error('There is nothing to be processed right now');
     }
+    const isProcessable = await PageOperation.isProcessable(pageOp);
+    if (!isProcessable) {
+      throw Error('This page operation is currently being processed');
+    }
 
     const { page, toPath, options } = pageOp;