jam411 vor 3 Jahren
Ursprung
Commit
26d3598341
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      packages/app/src/components/PageEditor/HandsontableModal.jsx

+ 3 - 3
packages/app/src/components/PageEditor/HandsontableModal.jsx

@@ -335,9 +335,9 @@ export default class HandsontableModal extends React.PureComponent {
     const align = this.state.markdownTable.options.align;
     const align = this.state.markdownTable.options.align;
     const hotInstance = this.hotTable.hotInstance;
     const hotInstance = this.hotTable.hotInstance;
 
 
-    // if (hotInstance.isDestroyed === true) {
-    //   return;
-    // }
+    if (hotInstance.isDestroyed === true) {
+      return;
+    }
 
 
     for (let i = 0; i < align.length; i++) {
     for (let i = 0; i < align.length; i++) {
       for (let j = 0; j < hotInstance.countRows(); j++) {
       for (let j = 0; j < hotInstance.countRows(); j++) {