From e3ec292528779fa126f869e3fe055ecaf3904ac1 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 30 Dec 2022 08:52:10 -0700 Subject: [PATCH] Fix config missing (#4825) --- web/src/routes/Config.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/Config.jsx b/web/src/routes/Config.jsx index ee01d8d01..d3e8ee90a 100644 --- a/web/src/routes/Config.jsx +++ b/web/src/routes/Config.jsx @@ -48,7 +48,7 @@ export default function Config() { return; } - if (window.editor) { + if (document.getElementById('container').children.length > 0) { // we don't need to recreate the editor if it already exists return; }