Skip to content

Commit

Permalink
Merge pull request #162 from invopop/validation_head
Browse files Browse the repository at this point in the history
Show error console for signed envelopes
  • Loading branch information
beliolfa authored Oct 3, 2024
2 parents 721bdae + 91cef8b commit 2efbe1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/editor/code/EditorCode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -53,7 +53,7 @@
$: forceReadOnly, setEditorReadOnly();
$: showErrorConsole = !hideConsoleBar && !forceReadOnly && !$envelope?.sigs;
$: showErrorConsole = !hideConsoleBar && !forceReadOnly;
function setSchemaURI(uri: string) {
if (!monaco) {
Expand Down

0 comments on commit 2efbe1d

Please sign in to comment.