fix whitespace

This commit is contained in:
Ruben Fiszel
2023-08-26 11:59:19 +02:00
parent 3142bc932c
commit 69918fe903
2 changed files with 6 additions and 4 deletions
@@ -132,8 +132,7 @@
>
<slot name="copilot-fix" />
</div>
{/if}
{#if typeof result == 'object' && Object.keys(result).length > 0}<div
{/if}{#if typeof result == 'object' && Object.keys(result).length > 0}<div
class="mb-2 w-full min-w-[400px] text-sm relative"
>The result keys are: <b>{truncate(Object.keys(result).join(', '), 50)}</b>
{#if !disableExpand}
@@ -129,8 +129,11 @@
</Pane>
<Pane size={50} minSize={10} class="text-sm text-tertiary">
{#if testJob != undefined && 'result' in testJob && testJob.result != undefined}
<pre class="overflow-x-auto break-words relative h-full px-2">
<DisplayResult workspaceId={testJob?.workspace_id} jobId={testJob?.id} result={testJob.result}>
<pre class="overflow-x-auto break-words relative h-full px-2"
><DisplayResult
workspaceId={testJob?.workspace_id}
jobId={testJob?.id}
result={testJob.result}>
<svelte:fragment slot="copilot-fix">
{#if lang && editor && diffEditor && testJob?.result?.error}
<ScriptFix