Explorar el Código

bugFIx (https://redmine.weseek.co.jp/issues/172127)

Shun Miyazawa hace 7 meses
padre
commit
d766cd0777
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/app/src/server/service/page/index.ts

+ 1 - 1
apps/app/src/server/service/page/index.ts

@@ -4291,7 +4291,7 @@ class PageService implements IPageService {
     let savedPage = await pageData.save();
 
     // Update revision
-    const isBodyPresent = body != null && previousBody != null;
+    const isBodyPresent = body != null;
     const shouldUpdateBody = isBodyPresent;
     if (shouldUpdateBody) {
       const newRevision = await Revision.prepareRevision(pageData, body, previousBody, user);