Explorar o código

replace with destroy method

Natan Keddem hai 1 ano
pai
achega
0d9073bce0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
       }
     },
   },