Sfoglia il codice sorgente

Update PageEditorByHackmd.jsx

itizawa 6 anni fa
parent
commit
d8e2360e36
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
      * Resume to edit or discard changes
      */
      */
-    else if (!this.isResume) {
+    else if (this.isResume) {
       const isHackmdDocumentOutdated = revisionIdHackmdSynced !== remoteRevisionId;
       const isHackmdDocumentOutdated = revisionIdHackmdSynced !== remoteRevisionId;
 
 
       content = (
       content = (