Răsfoiți Sursa

replace with destroy method

Natan Keddem 1 an în urmă
părinte
comite
0d9073bce0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      nicegui/elements/json_editor.js

+ 1 - 1
nicegui/elements/json_editor.js

@@ -28,7 +28,7 @@ export default {
     },
     destroyEditor() {
       if (this.editor) {
-        this.editor.dispose();
+        this.editor.destroy();
       }
     },
   },