Ver Fonte

replace with destroy method

Natan Keddem há 1 ano atrás
pai
commit
0d9073bce0
1 ficheiros alterados com 1 adições e 1 exclusões
  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();
       }
     },
   },