diff --git a/web/src/routes/Config.jsx b/web/src/routes/Config.jsx index 678619301..ee01d8d01 100644 --- a/web/src/routes/Config.jsx +++ b/web/src/routes/Config.jsx @@ -48,6 +48,11 @@ export default function Config() { return; } + if (window.editor) { + // we don't need to recreate the editor if it already exists + return; + } + const modelUri = Uri.parse('a://b/api/config/schema.json'); let yamlModel;