Parcourir la source

Update PageEditorByHackmd.jsx

itizawa il y a 6 ans
Parent
commit
d8e2360e36
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/client/js/components/PageEditorByHackmd.jsx

+ 1 - 1
src/client/js/components/PageEditorByHackmd.jsx

@@ -248,7 +248,7 @@ class PageEditorByHackmd extends React.Component {
     /*
      * Resume to edit or discard changes
      */
-    else if (!this.isResume) {
+    else if (this.isResume) {
       const isHackmdDocumentOutdated = revisionIdHackmdSynced !== remoteRevisionId;
 
       content = (