initial v0.8 pre-release
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<script context="module">
|
||||
let cachedEditorComponent;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import { scale } from "svelte/transition";
|
||||
import tooltip from "@/actions/tooltip";
|
||||
@@ -12,7 +16,7 @@
|
||||
export let config = {};
|
||||
|
||||
let accordion;
|
||||
let editorComponent;
|
||||
let editorComponent = cachedEditorComponent;
|
||||
let isEditorComponentLoading = false;
|
||||
|
||||
$: hasErrors = !CommonHelper.isEmpty(CommonHelper.getNestedVal($errors, key));
|
||||
@@ -42,6 +46,8 @@
|
||||
|
||||
editorComponent = (await import("@/components/base/CodeEditor.svelte")).default;
|
||||
|
||||
cachedEditorComponent = editorComponent;
|
||||
|
||||
isEditorComponentLoading = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user