Skip to content

Commit

Permalink
fix: render the status bar of code mode above parse errors and valida…
Browse files Browse the repository at this point in the history
…tion warnings
  • Loading branch information
josdejong committed Jun 8, 2022
1 parent 410d91e commit d765cb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/components/modes/codemode/CodeMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,10 @@

<div class="jse-contents" class:jse-hidden={codeEditorDisabled} bind:this={codeMirrorRef} />

{#if statusBar}
<StatusBar {editorState} />
{/if}

{#if jsonParseError}
<Message
type="error"
Expand All @@ -837,10 +841,6 @@
{/if}

<ValidationErrorsOverview {validationErrors} selectError={handleSelectValidationError} />

{#if statusBar}
<StatusBar {editorState} />
{/if}
{:else}
<div class="jse-contents">
<div class="jse-loading-space" />
Expand Down

0 comments on commit d765cb0

Please sign in to comment.