Kaynağa Gözat

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

Shun Miyazawa 7 ay önce
ebeveyn
işleme
d766cd0777
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);