From 38ba91cddabf855d857fe3688f79b7ee253d872f Mon Sep 17 00:00:00 2001 From: Javier Martinez Date: Thu, 3 Oct 2024 08:46:38 +0000 Subject: [PATCH] show error console for signed envelopes --- src/lib/editor/code/EditorCode.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/editor/code/EditorCode.svelte b/src/lib/editor/code/EditorCode.svelte index 1cca684..6d64be5 100644 --- a/src/lib/editor/code/EditorCode.svelte +++ b/src/lib/editor/code/EditorCode.svelte @@ -38,7 +38,7 @@ const builderContext = getBuilderContext(); - const { editorProblems: problems, editor, envelope } = builderContext; + const { editorProblems: problems, editor } = builderContext; // Sort by `monaco.MarkerSeverity` enum value descending, most severe shown first. $: sortedProblems = $problems.sort((a, b) => b.severity - a.severity); @@ -53,7 +53,7 @@ $: forceReadOnly, setEditorReadOnly(); - $: showErrorConsole = !hideConsoleBar && !forceReadOnly && !$envelope?.sigs; + $: showErrorConsole = !hideConsoleBar && !forceReadOnly; function setSchemaURI(uri: string) { if (!monaco) {